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

run: composer format

This commit is contained in:
David Goodwin
2019-06-08 20:38:54 +01:00
parent 03b9483204
commit 8e2e4eb189
5 changed files with 2 additions and 7 deletions

View File

@@ -1542,7 +1542,6 @@ function db_connect() {
}
return $link;
}
/**

View File

@@ -217,7 +217,6 @@ class MailboxHandler extends PFAHandler {
protected function beforestore() {
if (isset($this->values['quota']) && $this->values['quota'] != -1) {
$multiplier = Config::read_string('quota_multiplier');
if ($multiplier == 0) { // or empty string, or null, or false...

View File

@@ -189,8 +189,7 @@ $error_text = null;
try {
$link = db_connect();
}
catch(Exception $e) {
} catch (Exception $e) {
$error_text = $e->getMessage();
}

View File

@@ -39,7 +39,6 @@ if ($context === 'admin' && !Config::read('forgotten_admin_password_reset') || $
}
function sendCodebyEmail($to, $username, $code) {
$https = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 'https' : 'http';
$_SERVER['REQUEST_SCHEME'] = isset($_SERVER['REQUEST_SCHEME']) ? $_SERVER['REQUEST_SCHEME'] : $https;

View File

@@ -85,7 +85,6 @@ try {
echo "failed to connect to database\n";
echo $e->getMessage();
exit(1);
}
require_once(dirname(__FILE__) . '/../public/upgrade.php');