Remove deprecated isEnabled call from files_trashbin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
19a0a9a4e7
commit
44b002665c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue