diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-01-29 13:17:07 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-31 14:13:15 +0100 |
commit | 44b002665c936bf4450ed76bb4b6e5ff4c531337 (patch) | |
tree | 4000b5b2a1ef9b26b7a34ad8b7f0a3acf9bebe3b /apps | |
parent | 19a0a9a4e7e9e511f5f3d99c697e57e7bb0260e6 (diff) | |
download | nextcloud-server-44b002665c936bf4450ed76bb4b6e5ff4c531337.tar.gz nextcloud-server-44b002665c936bf4450ed76bb4b6e5ff4c531337.zip |
Remove deprecated isEnabled call from files_trashbin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/lib/Storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Storage.php b/apps/files_trashbin/lib/Storage.php index 3025d36a210..64b6a086271 100644 --- a/apps/files_trashbin/lib/Storage.php +++ b/apps/files_trashbin/lib/Storage.php @@ -268,7 +268,7 @@ class Storage extends Wrapper { */ private function doDelete($path, $method, $ownerOnly = false) { if (self::$disableTrash - || !\OC_App::isEnabled('files_trashbin') + || !\OC::$server->getAppManager()->isEnabledForUser('files_trashbin') || (pathinfo($path, PATHINFO_EXTENSION) === 'part') || $this->shouldMoveToTrash($path) === false ) { |