From: Robin Appelman Date: Mon, 29 Jul 2013 14:32:37 +0000 (+0200) Subject: add function to get config object from OC_Config X-Git-Tag: v6.0.0alpha2~375^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fbbe0ebe7735222b7e9502585c622ea3f98648c2;p=nextcloud-server.git add function to get config object from OC_Config --- diff --git a/lib/legacy/config.php b/lib/legacy/config.php index 5294a48ea44..7e498013737 100644 --- a/lib/legacy/config.php +++ b/lib/legacy/config.php @@ -46,6 +46,10 @@ class OC_Config { */ public static $object; + public static function getObject() { + return self::$object; + } + /** * @brief Lists all available config keys * @return array with key names