pagination: joins

This commit is contained in:
2023-01-09 14:21:11 +01:00
parent d115d8b970
commit 6dcd7031bb
14 changed files with 424 additions and 69 deletions

View File

@@ -98,7 +98,7 @@ class User extends DatabaseEntity {
public function update(SQL $sql): bool {
$this->lastOnline = new \DateTime();
return $this->save($sql, ["last_online", "language_id"]);
return $this->save($sql, ["lastOnline", "language"]);
}
public function setTwoFactorToken(TwoFactorToken $twoFactorToken) {