diff --git a/functions.inc.php b/functions.inc.php index 2c51a630..81a5a110 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1316,7 +1316,7 @@ function pacrypt($pw, $pw_db = "") if (!empty($pw_db) && preg_match('/^{([0-9a-z-\.]+)}/i', $pw_db, $matches)) { $method_in_hash = $matches[1]; if ('COURIER:' . strtoupper($method_in_hash) == $mechanism) { - // don't try and be clever. + // don't try and be clever. } elseif ($mechanism != $method_in_hash) { error_log("PostfixAdmin: configured to use $mechanism, but asked to crypt password using {$method_in_hash}; are you migrating algorithm/mechanism or is something wrong?"); $mechanism = $method_in_hash; @@ -1742,7 +1742,7 @@ function db_connect() $username_password = false; } elseif (db_pgsql()) { - // nothing to do. + // nothing to do. } else { throw new Exception("

FATAL Error:
Invalid \$CONF['database_type']! Please fix your config.inc.php!

"); } diff --git a/model/CliView.php b/model/CliView.php index 42230c47..af20f5ae 100644 --- a/model/CliView.php +++ b/model/CliView.php @@ -64,7 +64,7 @@ class CliView extends Shell } if ($struct[$field]['display_in_list'] == 0) { - # do nothing + # do nothing } else { $value = $result[$field]; diff --git a/public/upgrade.php b/public/upgrade.php index a94c15f6..d397ec1d 100644 --- a/public/upgrade.php +++ b/public/upgrade.php @@ -110,7 +110,7 @@ function _db_add_field($table, $field, $fieldtype, $after = '') function echo_out($text) { if (defined('PHPUNIT_TEST')) { - //error_log("" . $text); + //error_log("" . $text); } else { echo $text . "\n"; }