diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-19 12:20:48 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-19 12:45:38 +0100 |
commit | 4cb53f77b2e09fa16129700b459e8b4edcd3eb64 (patch) | |
tree | 4a812569c5c07396519c46a251c656f5c63976ca /apps/files_external/appinfo/app.php | |
parent | 80180bea325c994be3f24d14ec7dd0682429396d (diff) | |
download | nextcloud-server-4cb53f77b2e09fa16129700b459e8b4edcd3eb64.tar.gz nextcloud-server-4cb53f77b2e09fa16129700b459e8b4edcd3eb64.zip |
Moved external storage mounting code to files_external app
Moved the mounting code for external storage from
OC\Filesystem::initMountPoint to files_external using the
post_initMountPoints hook
Diffstat (limited to 'apps/files_external/appinfo/app.php')
-rw-r--r-- | apps/files_external/appinfo/app.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php index 5b1cd86a170..0e83660f845 100644 --- a/apps/files_external/appinfo/app.php +++ b/apps/files_external/appinfo/app.php @@ -25,5 +25,6 @@ if (OCP\Config::getAppValue('files_external', 'allow_user_mounting', 'yes') == ' } // connecting hooks -OCP\Util::connectHook( 'OC_User', 'post_login', 'OC\Files\Storage\iRODS', 'login' ); +OCP\Util::connectHook('OC_Filesystem', 'post_initMountPoints', '\OC_Mount_Config', 'initMountPointsHook'); +OCP\Util::connectHook('OC_User', 'post_login', 'OC\Files\Storage\iRODS', 'login'); |