You've already forked postfixadmin
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:
@@ -93,8 +93,7 @@ class Login {
|
|||||||
* @return mixed|null
|
* @return mixed|null
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
protected function getUserDomain($username)
|
protected function getUserDomain($username) {
|
||||||
{
|
|
||||||
$sql = "SELECT domain FROM {$this->table} WHERE username = :username AND active = :active";
|
$sql = "SELECT domain FROM {$this->table} WHERE username = :username AND active = :active";
|
||||||
|
|
||||||
$active = db_get_boolean(true);
|
$active = db_get_boolean(true);
|
||||||
@@ -110,7 +109,7 @@ class Login {
|
|||||||
if (is_array($result) && isset($result['domain'])) {
|
if (is_array($result) && isset($result['domain'])) {
|
||||||
return $result['domain'];
|
return $result['domain'];
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user