mirror of
https://github.com/friendica/friendica
synced 2024-06-18 05:17:55 +02:00
Photo model: set updated field in update()
This commit is contained in:
parent
3e13799e70
commit
69fcdaf9ab
|
@ -345,6 +345,8 @@ class Photo extends BaseObject
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$fields['updated'] = DateTimeFormat::utcNow();
|
||||||
|
|
||||||
return DBA::update("photo", $fields, $conditions);
|
return DBA::update("photo", $fields, $conditions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue