]> git.mxchange.org Git - friendica.git/blobdiff - update.php
First draft for using a image grid to display attached images.
[friendica.git] / update.php
index 2ee753ead2125e384175de24d9ffa096d9dadecd..176747057199e26fff2da3d5f41eed1124e19b24 100644 (file)
@@ -1126,4 +1126,10 @@ function update_1491()
 {
        DBA::update('contact', ['remote_self' => Contact::MIRROR_OWN_POST], ['remote_self' => Contact::MIRROR_FORWARDED]);
        return Update::SUCCESS;
+}
+
+function update_1497()
+{
+       DBA::e("UPDATE `user` SET `last-activity` = DATE(`login_date`) WHERE `last-activity` IS NULL");
+       return Update::SUCCESS;
 }
\ No newline at end of file