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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user