No need for global config

This commit is contained in:
Fredrick Brennan 2014-05-19 13:46:18 -04:00 committed by czaks
parent f6e97b6e73
commit 56695fbf04

View File

@ -111,7 +111,6 @@ function error($message, $priority = true, $debug_stuff = false) {
$pw = $config['db']['password'];
$debug_callback = function(&$item) use (&$debug_callback, $pw) {
global $config;
if (is_array($item)) {
$item = array_filter($item, $debug_callback);
}