Skip to content

Commit 9761eb9

Browse files
committed
feature(storage): Allow deletion of symlinks with remove method in Common storage
1 parent 2b19fe0 commit 9761eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/Storage/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function __construct($parameters) {
106106
protected function remove($path) {
107107
if ($this->is_dir($path)) {
108108
return $this->rmdir($path);
109-
} elseif ($this->is_file($path)) {
109+
} elseif ($this->is_file($path) || $this->is_link($path)) {
110110
return $this->unlink($path);
111111
} else {
112112
return false;

0 commit comments

Comments
 (0)