update to bootstrap 5.2.3 continued
This commit is contained in:
@ -38,14 +38,3 @@ class Redirects extends Plugin {
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
// as long as this is in the plugin constructor, it should happen before the controller and method loading
|
||||
// $routes = new RoutesModel;
|
||||
// $route = $routes->findByOriginalUrl( $url );
|
||||
// if ( false !== $route ) {
|
||||
// if ( 'internal' === $route->redirect_type ) {
|
||||
// $this->setUrl( $route->forwarded_url );
|
||||
// } else {
|
||||
// Redirect::external( $route->forwarded_url );
|
||||
// }
|
||||
// }
|
Reference in New Issue
Block a user