summaryrefslogtreecommitdiffstats
path: root/lib/public/Settings
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Settings')
-rw-r--r--lib/public/Settings/IManager.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/Settings/IManager.php b/lib/public/Settings/IManager.php
index 8aa7a9ac248..cba4efbd037 100644
--- a/lib/public/Settings/IManager.php
+++ b/lib/public/Settings/IManager.php
@@ -51,6 +51,20 @@ interface IManager {
public function setupSettings(array $settings);
/**
+ * attempts to remove an apps section and/or settings entry. A listener is
+ * added centrally making sure that this method is called ones an app was
+ * disabled.
+ *
+ * What this does not help with is when applications change their settings
+ * or section classes during their life time. New entries will be added,
+ * but inactive ones will still reside in the database.
+ *
+ * @param string $appId
+ * @since 9.1.0
+ */
+ public function onAppDisabled($appId);
+
+ /**
* returns a list of the admin sections
*
* @return array array of ISection[] where key is the priority