]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #7086 from nupplaphil/task/mod_maintenance
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 6 May 2019 00:36:12 +0000 (20:36 -0400)
committerGitHub <noreply@github.com>
Mon, 6 May 2019 00:36:12 +0000 (20:36 -0400)
Move mod/maintenance to src/Module/Maintenance

1  2 
src/App/Router.php

index 9c8927cf16563222a48f1adfc3658a5a4a88853e,ac701a0786a942507cb83e976cab4455f67daf7d..086d9d2809f93c47701943c20977da4e325c4384
@@@ -139,8 -138,8 +139,9 @@@ class Route
                $this->routeCollector->addRoute(['GET', 'POST'], '/login',               Module\Login::class);
                $this->routeCollector->addRoute(['GET', 'POST'], '/logout',              Module\Logout::class);
                $this->routeCollector->addRoute(['GET'],         '/magic',               Module\Magic::class);
+               $this->routeCollector->addRoute(['GET'],         '/maintenance',         Module\Maintenance::class);
                $this->routeCollector->addRoute(['GET'],         '/manifest',            Module\Manifest::class);
 +              $this->routeCollector->addRoute(['GET'],         '/modexp/{nick}',       Module\PublicRSAKey::class);
                $this->routeCollector->addRoute(['GET'],         '/nodeinfo/1.0',        Module\NodeInfo::class);
                $this->routeCollector->addRoute(['GET'],         '/nogroup',             Module\Group::class);
                $this->routeCollector->addRoute(['GET'],         '/objects/{guid}',      Module\Objects::class);