summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-30 15:00:22 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-31 15:11:45 +0100
commit82d9829c973ee78d0389c3372c93d418afd34c54 (patch)
tree579b150dc56fcc1045335fe889f26028fcc45f5c /apps
parentf8d8de5da63f8838cf05a48634f07384cf30ab7d (diff)
downloadnextcloud-server-82d9829c973ee78d0389c3372c93d418afd34c54.tar.gz
nextcloud-server-82d9829c973ee78d0389c3372c93d418afd34c54.zip
Fire event when BackendService is available
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/appinfo/application.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_external/appinfo/application.php b/apps/files_external/appinfo/application.php
index 1e43c737408..aa9e4fd913e 100644
--- a/apps/files_external/appinfo/application.php
+++ b/apps/files_external/appinfo/application.php
@@ -50,6 +50,11 @@ class Application extends App {
$this->loadBackends();
$this->loadAuthMechanisms();
+
+ // app developers: do NOT depend on this! it will disappear with oC 9.0!
+ \OC::$server->getEventDispatcher()->dispatch(
+ 'OCA\\Files_External::loadAdditionalBackends'
+ );
}
/**