Added handling of created_manual, revert some file_path()
This commit is contained in:
@@ -81,8 +81,10 @@ class CatalogScan extends Command
|
||||
}
|
||||
|
||||
// If the file signature changed, abort the update.
|
||||
if ($o->getOriginal('file_signature') AND $o->getDirty('file_signature'))
|
||||
if ($o->getOriginal('file_signature') AND $o->wasChanged('file_signature')) {
|
||||
dump(['old'=>$o->getOriginal('file_signature'),'new'=>$o->file_signature]);
|
||||
abort(500,'File Signature Changed?');
|
||||
}
|
||||
|
||||
$o->save();
|
||||
}
|
||||
|
Reference in New Issue
Block a user