fix for trashbin
This commit is contained in:
parent
6dd8c79461
commit
2434739d69
|
@ -254,6 +254,11 @@ class Proxy extends \OC_FileProxy {
|
||||||
*/
|
*/
|
||||||
public function preUnlink( $path ) {
|
public function preUnlink( $path ) {
|
||||||
|
|
||||||
|
// let the trashbin handle this
|
||||||
|
if ( \OCP\App::isEnabled('files_trashbin') ) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
$path = Keymanager::fixPartialFilePath( $path );
|
$path = Keymanager::fixPartialFilePath( $path );
|
||||||
|
|
||||||
// Disable encryption proxy to prevent recursive calls
|
// Disable encryption proxy to prevent recursive calls
|
||||||
|
|
Loading…
Reference in New Issue