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
|
@ -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 New Issue