diff options
author | Bot <bot@myigel.name> | 2019-09-08 02:25:49 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-12-08 02:12:56 +0100 |
commit | be39c63f46562eea173747d80cd91ac81e0b8e09 (patch) | |
tree | f4148db3009dff0dff99ce779798596f6b82a57b /src | |
parent | 72123fcd31b612e35e5967c01faae9dd202756d8 (diff) |
Renamed redirect() to throwRedirect()
Diffstat (limited to 'src')
-rw-r--r-- | src/Middleware/LegacyMiddleware.php | 2 |
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 []; } |