Photo model: set updated field in update()

This commit is contained in:
fabrixxm 2018-11-21 18:08:23 +01:00 committed by Hypolite Petovan
parent 3e13799e70
commit 69fcdaf9ab

View File

@ -345,6 +345,8 @@ class Photo extends BaseObject
}
}
$fields['updated'] = DateTimeFormat::utcNow();
return DBA::update("photo", $fields, $conditions);
}