0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00

remove debug stuff

This commit is contained in:
David Goodwin 2020-04-22 09:37:31 +01:00
parent fd48714615
commit df9a400ea2

View File

@ -115,7 +115,7 @@ final class Config {
}
if (!in_array($var, self::$deprecated_options)) {
error_log('Config::read(): attempt to read undefined config option "' . $var . '", returning null' . json_encode(debug_backtrace(), true));
error_log('Config::read(): attempt to read undefined config option "' . $var . '", returning null');
}
return null;
@ -198,7 +198,6 @@ final class Config {
* @access public
*/
public static function lang($var) {
$languages = self::read_array('__LANG');
$value = $languages[$var] ?? '';