aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/studiengaenge/abschluesse.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/studiengaenge/abschluesse.php
parentda0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff)
parent97a188592c679890a25c37ab78463add76a52ff7 (diff)
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'app/controllers/studiengaenge/abschluesse.php')
-rw-r--r--app/controllers/studiengaenge/abschluesse.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/studiengaenge/abschluesse.php b/app/controllers/studiengaenge/abschluesse.php
index 8ec055b..60bc091 100644
--- a/app/controllers/studiengaenge/abschluesse.php
+++ b/app/controllers/studiengaenge/abschluesse.php
@@ -50,7 +50,7 @@ class Studiengaenge_AbschluesseController extends Studiengaenge_StudiengaengeCon
$perm_institutes = MvvPerm::getOwnInstitutes();
$abschluss = Abschluss::find($abschluss_id);
if (!$abschluss) {
- throw new Trails_Exception(404);
+ throw new Trails\Exception(404);
}
$this->abschluss_id = $abschluss->id;
if (count($perm_institutes)) {
@@ -59,7 +59,7 @@ class Studiengaenge_AbschluesseController extends Studiengaenge_StudiengaengeCon
$perm_institutes
);
if (!count($institutes_abschluss)) {
- throw new Trails_Exception(403);
+ throw new Trails\Exception(403);
}
$this->studiengaenge = SimpleORMapCollection::createFromArray(
Studiengang::findByAbschluss_id($this->abschluss_id)
@@ -91,4 +91,4 @@ class Studiengaenge_AbschluesseController extends Studiengaenge_StudiengaengeCon
$this->perform_relayed('index');
}
}
-} \ No newline at end of file
+}