diff options
Diffstat (limited to 'lib/private/allconfig.php')
-rw-r--r-- | lib/private/allconfig.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/allconfig.php b/lib/private/allconfig.php index 721ec337ff8..7ebff7cf2db 100644 --- a/lib/private/allconfig.php +++ b/lib/private/allconfig.php @@ -43,6 +43,15 @@ class AllConfig implements \OCP\IConfig { \OCP\Config::deleteSystemValue($key); } + /** + * Get all keys stored for an app + * + * @param string $appName the appName that we stored the value under + * @return string[] the keys stored for the app + */ + public function getAppKeys($appName) { + return \OC::$server->getAppConfig()->getKeys($appName); + } /** * Writes a new app wide value |