summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-02 17:40:23 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-02 17:40:23 +0200
commit4082436419d5325157553131b93343d5b7439b90 (patch)
treece7acd108bab35fcafe2b9666ed8959ec7aa3f0b /apps
parent914fe89003a22816438940d40e0370f67d9f8d05 (diff)
parentf585994c4be02418d34e83aed621859002c9ebcd (diff)
downloadnextcloud-server-4082436419d5325157553131b93343d5b7439b90.tar.gz
nextcloud-server-4082436419d5325157553131b93343d5b7439b90.zip
Merge pull request #15367 from owncloud/pre-setup-hook
setup storage wrappers before setting up the filesystem
Diffstat (limited to 'apps')
-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