|
@@ 2169-2173 (lines=5) @@
|
| 2166 |
|
break; |
| 2167 |
|
} |
| 2168 |
|
|
| 2169 |
|
if ($this->itemLocked($target)) { |
| 2170 |
|
$rm = $volume->file($target); |
| 2171 |
|
$result['warning'] = $this->error(self::ERROR_LOCKED, $rm['name']); |
| 2172 |
|
break; |
| 2173 |
|
} |
| 2174 |
|
|
| 2175 |
|
if (! $volume->rm($target)) { |
| 2176 |
|
$result['warning'] = $this->error($volume->error()); |
|
@@ 2197-2199 (lines=3) @@
|
| 2194 |
|
$targets = $args['targets']; |
| 2195 |
|
|
| 2196 |
|
foreach ($targets as $target) { |
| 2197 |
|
if (($volume = $this->volume($target)) !== false) { |
| 2198 |
|
$result['subdirs'][$target] = $volume->subdirs($target) ? 1 : 0; |
| 2199 |
|
} |
| 2200 |
|
} |
| 2201 |
|
|
| 2202 |
|
return $result; |