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:
parent
fd48714615
commit
df9a400ea2
@ -115,7 +115,7 @@ final class Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!in_array($var, self::$deprecated_options)) {
|
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;
|
return null;
|
||||||
@ -198,7 +198,6 @@ final class Config {
|
|||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
public static function lang($var) {
|
public static function lang($var) {
|
||||||
|
|
||||||
$languages = self::read_array('__LANG');
|
$languages = self::read_array('__LANG');
|
||||||
|
|
||||||
$value = $languages[$var] ?? '';
|
$value = $languages[$var] ?? '';
|
||||||
|
Loading…
Reference in New Issue
Block a user