diff options
Diffstat (limited to 'app/routes/Discovery.php')
| -rw-r--r-- | app/routes/Discovery.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/app/routes/Discovery.php b/app/routes/Discovery.php deleted file mode 100644 index c83f524..0000000 --- a/app/routes/Discovery.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -namespace RESTAPI\Routes; - -/** - * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> - * @author <mlunzena@uos.de> - * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. - */ -class Discovery extends \RESTAPI\RouteMap -{ - /** - * Schnittstellenbeschreibung - * - * @get /discovery - */ - public function getDiscovery() - { - $routes = $this->router->getRoutes(true); - foreach ($routes as $uri_template => $methods) { - foreach ($methods as $method => $route) { - $routes[$uri_template][$method] = $route['description']; - } - } - return $routes; - } -} |
