diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-02 17:40:23 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-02 17:40:23 +0200 |
commit | 4082436419d5325157553131b93343d5b7439b90 (patch) | |
tree | ce7acd108bab35fcafe2b9666ed8959ec7aa3f0b /apps | |
parent | 914fe89003a22816438940d40e0370f67d9f8d05 (diff) | |
parent | f585994c4be02418d34e83aed621859002c9ebcd (diff) | |
download | nextcloud-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.php | 2 |
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 |