Update and rename Photo/Video Delete to CatalogDelete
This commit is contained in:
@@ -416,7 +416,7 @@ abstract class Catalog extends Model
|
||||
// Test if the target dir is writable
|
||||
// @todo The target dir may not exist yet, so we should check that a parent exists and is writable.
|
||||
$this->move_reason = 'Target parent dir doesnt is not writable';
|
||||
if (! $this->isParentWritable(dirname($this->file_name(FALSE))))
|
||||
if (! $this->isParentWritable(dirname($this->file_name(TRUE))))
|
||||
return FALSE;
|
||||
|
||||
// Otherwise we can move it
|
||||
|
Reference in New Issue
Block a user