diff options
-rw-r--r-- | lib/private/systemconfig.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/systemconfig.php b/lib/private/systemconfig.php index 451ccd85e2f..13b0959768a 100644 --- a/lib/private/systemconfig.php +++ b/lib/private/systemconfig.php @@ -29,6 +29,14 @@ namespace OC; */ class SystemConfig { /** + * Lists all available config keys + * @return array an array of key names + */ + public function getKeys() { + return \OC_Config::getKeys(); + } + + /** * Sets a new system wide value * * @param string $key the key of the value, under which will be saved |