1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-07 17:42:53 +03:00

composer format time

This commit is contained in:
David Goodwin
2021-05-13 13:16:28 +01:00
parent d5ae9395cb
commit 166a151854

View File

@@ -93,8 +93,7 @@ class Login {
* @return mixed|null
* @throws Exception
*/
protected function getUserDomain($username)
{
protected function getUserDomain($username) {
$sql = "SELECT domain FROM {$this->table} WHERE username = :username AND active = :active";
$active = db_get_boolean(true);
@@ -110,7 +109,7 @@ class Login {
if (is_array($result) && isset($result['domain'])) {
return $result['domain'];
} else {
return NULL;
return null;
}
}