This commit is contained in:
bernd 2021-03-01 23:38:15 +01:00
parent 2a56eabf5d
commit 7778a24b8e

View file

@ -102,7 +102,7 @@ class Database {
{ {
$this->pdo = $pdo; $this->pdo = $pdo;
$this->log = $log; $this->log = $log;
$this->log->d(Databaseobject created); $this->log->d("Databaseobject created");
// hier vielleicht TableCreate hin // hier vielleicht TableCreate hin
} }
@ -162,7 +162,7 @@ class Database {
$uid = $this->getNick($array['name']); $uid = $this->getNick($array['name']);
$this->log->d("Compare {$nick} with {$uid}"); $this->log->d("Compare {$nick} with {$uid}");
if ($uid === $nick) { if ($uid === $nick) {
$this->log->i("MID localpart already exists: {$nick}"); $this->log->i("MXID localpart already exists: {$nick}");
return true; return true;
} else { } else {
$this->log->d("False"); $this->log->d("False");