diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-30 15:00:22 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-31 15:11:45 +0100 |
commit | 82d9829c973ee78d0389c3372c93d418afd34c54 (patch) | |
tree | 579b150dc56fcc1045335fe889f26028fcc45f5c /apps | |
parent | f8d8de5da63f8838cf05a48634f07384cf30ab7d (diff) | |
download | nextcloud-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.php | 5 |
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' + ); } /** |