X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=176747057199e26fff2da3d5f41eed1124e19b24;hb=6753eeab8b2f28c0736d0ba446e3b6f854aa1ec2;hp=2ee753ead2125e384175de24d9ffa096d9dadecd;hpb=32847f3398acd7183e89d280728bde8d64cd7cba;p=friendica.git diff --git a/update.php b/update.php index 2ee753ead2..1767470571 100644 --- a/update.php +++ b/update.php @@ -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