Photo model: set updated field in update()
This commit is contained in:
parent
3e13799e70
commit
69fcdaf9ab
1 changed files with 2 additions and 0 deletions
|
@ -345,6 +345,8 @@ class Photo extends BaseObject
|
|||
}
|
||||
}
|
||||
|
||||
$fields['updated'] = DateTimeFormat::utcNow();
|
||||
|
||||
return DBA::update("photo", $fields, $conditions);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue