aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/admission.php
diff options
context:
space:
mode:
authorPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
committerPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
commit4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch)
tree5c07151ae61276d334e88f6309c30d439a85c12e /app/controllers/course/admission.php
parentda0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff)
parent97a188592c679890a25c37ab78463add76a52ff7 (diff)
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'app/controllers/course/admission.php')
-rw-r--r--app/controllers/course/admission.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/course/admission.php b/app/controllers/course/admission.php
index 56342bb..14a9b20 100644
--- a/app/controllers/course/admission.php
+++ b/app/controllers/course/admission.php
@@ -31,7 +31,7 @@ class Course_AdmissionController extends AuthenticatedController
if (!get_object_type($this->course_id, ['sem']) ||
SeminarCategories::GetBySeminarId($this->course_id)->studygroup_mode ||
!$GLOBALS['perm']->have_studip_perm('tutor', $this->course_id)) {
- throw new Trails_Exception(403);
+ throw new Trails\Exception(403);
}
$this->course = Course::find($this->course_id);
@@ -488,7 +488,7 @@ class Course_AdmissionController extends AuthenticatedController
}
$this->course_set_name = $course_set->getName();
} else {
- throw new Trails_Exception(400);
+ throw new Trails\Exception(400);
}
}
@@ -503,7 +503,7 @@ class Course_AdmissionController extends AuthenticatedController
$this->redirect($response->headers['Location']);
}
} else {
- throw new Trails_Exception(403);
+ throw new Trails\Exception(403);
}
}
@@ -518,7 +518,7 @@ class Course_AdmissionController extends AuthenticatedController
$this->redirect($response->headers['Location']);
}
} else {
- throw new Trails_Exception(403);
+ throw new Trails\Exception(403);
}
}