Added photo:update to update signatures

This commit is contained in:
Deon George
2016-06-30 21:34:18 +10:00
parent f089c33b8b
commit 90c4468c43
10 changed files with 185 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ class AppServiceProvider extends ServiceProvider
Photo::saved(function($photo) {
if (! $photo->duplicate AND ($x=$photo->moveable()) === TRUE)
{
Log::info(__METHOD__.': Need to Move: '.$photo->id.'|'.serialize($x));
Log::info(sprintf('%s: Need to Move [%s]',__METHOD__,$photo->id.'|'.serialize($x)));
$this->dispatch((new PhotoMove($photo))->onQueue('move'));
}
});