diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-04-13 00:33:21 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-04-13 00:33:21 +0200 |
commit | e3b733f23d2f4f73f4331d74b8e3f2fca8b5f673 (patch) | |
tree | c230d91610cb31172cdcd1bf289945b176c4c29e | |
parent | f9e7d4ce2525cc4a101e36ae4aec41aabd69a902 (diff) | |
download | nextcloud-server-e3b733f23d2f4f73f4331d74b8e3f2fca8b5f673.tar.gz nextcloud-server-e3b733f23d2f4f73f4331d74b8e3f2fca8b5f673.zip |
allow Storages to join MountPoint initialization
-rw-r--r-- | lib/files/filesystem.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php index 6f56de9f265..c8e62956f19 100644 --- a/lib/files/filesystem.php +++ b/lib/files/filesystem.php @@ -23,6 +23,7 @@ * post_rename(oldpath,newpath) * copy(oldpath,newpath, &run) (if the newpath doesn't exists yes, copy, create and write will be emitted in that order) * post_rename(oldpath,newpath) + * post_initMountPoints(user, user_dir) * * the &run parameter can be set to false to prevent the operation from occurring */ @@ -280,6 +281,9 @@ class Filesystem { } } } + + // Chance to mount for other storages + \OC_Hook::emit('OC_Filesystem', 'post_initMountPoints', array('user' => $user, 'user_dir' => $root)); } /** |