We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit b2ed258e authored by Evan Prodromou's avatar Evan Prodromou

Avoid resetting modified for Faves in upgrade script

parent 8f787431
......@@ -300,10 +300,12 @@ function initFaveURI()
try {
$fave->query(sprintf('update fave '.
'set uri = "%s" '.
'set uri = "%s", '.
' modified = "%s" '.
'where user_id = %d '.
'and notice_id = %d',
Fave::newURI($fave->user_id, $fave->notice_id, $fave->modified),
} catch (Exception $e) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment