\OC_Appconfig::deleteKey($appName, $key);
}
+ /**
+ * Removes all keys in appconfig belonging to the app
+ *
+ * @param string $appName the appName the configs are stored under
+ */
+ public function deleteAppValues($appName) {
+ \OC_Appconfig::deleteApp($appName);
+ }
+
/**
* Set a user defined value
* Remove app from appconfig
* @param string $app app
* @return bool
+ * @deprecated use method deleteAppValue of \OCP\IConfig
*
* Removes all keys in appconfig belonging to the app.
*/
*/
public function deleteAppValue($appName, $key);
+ /**
+ * Removes all keys in appconfig belonging to the app
+ *
+ * @param string $appName the appName the configs are stored under
+ */
+ public function deleteAppValues($appName);
+
/**
* Set a user defined value