Issue 10518: "last-activity" instead of "login_date"

This commit is contained in:
Michael 2022-12-04 07:03:11 +00:00
commit 1d8c9276f3
13 changed files with 23 additions and 20 deletions

View file

@ -55,7 +55,7 @@
use Friendica\Database\DBA;
if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1496);
define('DB_UPDATE_VERSION', 1497);
}
return [

View file

@ -889,6 +889,7 @@
"language" => ["user", "language"],
"register_date" => ["user", "register_date"],
"login_date" => ["user", "login_date"],
"last-activity" => "IF (`user`.`last-activity` IS NULL, DATE(`user`.`login_date`), `user`.`last-activity`)",
"default-location" => ["user", "default-location"],
"allow_location" => ["user", "allow_location"],
"theme" => ["user", "theme"],