Skip to content
Snippets Groups Projects
Commit 12ac3a80 authored by Robin Appelman's avatar Robin Appelman Committed by Vincent Petry
Browse files

Expose getAppKeys trough \OCP\IConfig

parent 6585eaa5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -58,6 +58,13 @@ interface IConfig {
*/
public function 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);
/**
* Writes a new app wide value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment