summaryrefslogtreecommitdiffstats
path: root/lib/public/App
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-09 13:53:41 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-09 13:53:41 +0100
commit4fc0b2c639f1dd3c67a038c532cf98138b813dbe (patch)
treef85a4dd880dca658ad3317751ce9649a16a9f78b /lib/public/App
parenta36186980dec315929a7e816042d613134bf7039 (diff)
downloadnextcloud-server-4fc0b2c639f1dd3c67a038c532cf98138b813dbe.tar.gz
nextcloud-server-4fc0b2c639f1dd3c67a038c532cf98138b813dbe.zip
Deprecate all remaining event constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/App')
-rw-r--r--lib/public/App/ManagerEvent.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/public/App/ManagerEvent.php b/lib/public/App/ManagerEvent.php
index e2f718a556f..58cbdc3d117 100644
--- a/lib/public/App/ManagerEvent.php
+++ b/lib/public/App/ManagerEvent.php
@@ -32,12 +32,24 @@ use OCP\EventDispatcher\Event;
* @since 9.0.0
*/
class ManagerEvent extends Event {
+ /**
+ * @deprecated 22.0.0
+ */
public const EVENT_APP_ENABLE = 'OCP\App\IAppManager::enableApp';
+
+ /**
+ * @deprecated 22.0.0
+ */
public const EVENT_APP_ENABLE_FOR_GROUPS = 'OCP\App\IAppManager::enableAppForGroups';
+
+ /**
+ * @deprecated 22.0.0
+ */
public const EVENT_APP_DISABLE = 'OCP\App\IAppManager::disableApp';
/**
* @since 9.1.0
+ * @deprecated 22.0.0
*/
public const EVENT_APP_UPDATE = 'OCP\App\IAppManager::updateApp';