summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-07 00:32:08 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-07 00:32:08 +0200
commitfda37ea09c68bfefe31ee1a6d28d6fc09e38a151 (patch)
tree5a520cc81c79cd40cdc7f1f9561d065b16240e74 /lib
parent1f14ba6aedb3b777f148372305331261938be3b6 (diff)
downloadnextcloud-server-fda37ea09c68bfefe31ee1a6d28d6fc09e38a151.tar.gz
nextcloud-server-fda37ea09c68bfefe31ee1a6d28d6fc09e38a151.zip
PHPDoc added
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index 42182c21fb0..bf2c51f0ad3 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -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();