PHPDoc added

This commit is contained in:
Thomas Müller 2013-10-07 00:32:08 +02:00
parent 1f14ba6aed
commit fda37ea09c
1 changed files with 6 additions and 2 deletions

View File

@ -69,8 +69,9 @@ class OC {
* check if owncloud runs in cli mode
*/
public static $CLI = false;
/*
* OC router
/**
* @var OC_Router
*/
protected static $router = null;
@ -344,6 +345,9 @@ class OC {
return OC_Config::getValue('session_lifetime', 60 * 60 * 24);
}
/**
* @return OC_Router
*/
public static function getRouter() {
if (!isset(OC::$router)) {
OC::$router = new OC_Router();