diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-29 16:32:37 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-07-29 16:32:37 +0200 |
commit | fbbe0ebe7735222b7e9502585c622ea3f98648c2 (patch) | |
tree | dc7930e3dd7465b0c5aff4eb7a952c46631db77a | |
parent | 499a01f179d511135828c10edf64348547d31794 (diff) | |
download | nextcloud-server-fbbe0ebe7735222b7e9502585c622ea3f98648c2.tar.gz nextcloud-server-fbbe0ebe7735222b7e9502585c622ea3f98648c2.zip |
add function to get config object from OC_Config
-rw-r--r-- | lib/legacy/config.php | 4 |
1 files changed, 4 insertions, 0 deletions
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 |