Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib/Hooks.php')
-rw-r--r--apps/files_trashbin/lib/Hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Hooks.php b/apps/files_trashbin/lib/Hooks.php
index 74f1fde9737..8bf8fa8dc94 100644
--- a/apps/files_trashbin/lib/Hooks.php
+++ b/apps/files_trashbin/lib/Hooks.php
@@ -44,7 +44,7 @@ class Hooks {
}
public static function post_write_hook($params) {
- $user = \OCP\User::getUser();
+ $user = \OC_User::getUser();
if (!empty($user)) {
Trashbin::resizeTrash($user);
}