diff --git a/libraries/src/CMS/Application/ApiApplication.php b/libraries/src/CMS/Application/ApiApplication.php index a2ee4f1ca2930..a689f5014357f 100644 --- a/libraries/src/CMS/Application/ApiApplication.php +++ b/libraries/src/CMS/Application/ApiApplication.php @@ -22,14 +22,6 @@ */ final class ApiApplication extends CMSApplication { - /** - * The API router. - * - * @var ApiRouter - * @since __DEPLOY_VERSION__ - */ - protected $router; - /** * Class constructor. * @@ -62,12 +54,6 @@ public function __construct(\JInput $input = null, Registry $config = null, WebC // Set the root in the URI based on the application name \JUri::root(null, str_ireplace('/' . $this->getName(), '', \JUri::base(true))); - - /** - * Setup the router - * TODO: Router class not ready - * $this->router = new ApiRouter(); - */ } @@ -163,7 +149,7 @@ protected function route() * * @since __DEPLOY_VERSION__ */ - public static function getApiRouter() + public function getApiRouter() { return JFactory::getContainer()->get('ApiRouter'); }