summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBot <bot@myigel.name>2019-09-08 02:25:49 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-12-08 02:12:56 +0100
commitbe39c63f46562eea173747d80cd91ac81e0b8e09 (patch)
treef4148db3009dff0dff99ce779798596f6b82a57b /src
parent72123fcd31b612e35e5967c01faae9dd202756d8 (diff)
Renamed redirect() to throwRedirect()
Diffstat (limited to 'src')
-rw-r--r--src/Middleware/LegacyMiddleware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php
index 8a0ff002..e516f1f3 100644
--- a/src/Middleware/LegacyMiddleware.php
+++ b/src/Middleware/LegacyMiddleware.php
@@ -219,7 +219,7 @@ class LegacyMiddleware implements MiddlewareInterface
return [$title, $content];
}
- redirect(page_link_to('login'));
+ throw_redirect(page_link_to('login'));
return [];
}