summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-04-01 17:12:06 +0200
committerRobin Appelman <icewind@owncloud.com>2015-04-01 17:12:06 +0200
commit3cb53b7756155a5e6208fee48da0ecbab8f19815 (patch)
tree0fa051b25db2a88205e15dc2bceb0e53025fd2f8 /apps/files_trashbin
parent0af2dc7d3775f5d40cdfd3fe0cd4325abd6ce40d (diff)
downloadnextcloud-server-3cb53b7756155a5e6208fee48da0ecbab8f19815.tar.gz
nextcloud-server-3cb53b7756155a5e6208fee48da0ecbab8f19815.zip
setup storage wrappers before setting up the filesystem
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/lib/trashbin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php
index eaf0c705a45..6bdbac49aa7 100644
--- a/apps/files_trashbin/lib/trashbin.php
+++ b/apps/files_trashbin/lib/trashbin.php
@@ -957,7 +957,7 @@ class Trashbin {
*/
public static function registerHooks() {
// create storage wrapper on setup
- \OCP\Util::connectHook('OC_Filesystem', 'setup', 'OCA\Files_Trashbin\Storage', 'setupStorage');
+ \OCP\Util::connectHook('OC_Filesystem', 'preSetup', 'OCA\Files_Trashbin\Storage', 'setupStorage');
//Listen to delete user signal
\OCP\Util::connectHook('OC_User', 'pre_deleteUser', 'OCA\Files_Trashbin\Hooks', 'deleteUser_hook');
//Listen to post write hook