From: fabrixxm Date: Wed, 21 Nov 2018 17:08:23 +0000 (+0100) Subject: Photo model: set updated field in update() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=69fcdaf9ab02ac9364c81e5c932ac014f623099e;p=friendica.git Photo model: set updated field in update() --- diff --git a/src/Model/Photo.php b/src/Model/Photo.php index a72a7a66f9..edb4bc0e26 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -345,6 +345,8 @@ class Photo extends BaseObject } } + $fields['updated'] = DateTimeFormat::utcNow(); + return DBA::update("photo", $fields, $conditions); }