1
1
Fork 0

Removed the debug statement

This commit is contained in:
Domovoy 2012-07-23 20:16:06 +02:00
parent d6c600ce11
commit 35f1081bfe

View file

@ -162,7 +162,6 @@ function call_hooks($name, &$data = null) {
$a = get_app(); $a = get_app();
if((is_array($a->hooks)) && (array_key_exists($name,$a->hooks))) { if((is_array($a->hooks)) && (array_key_exists($name,$a->hooks))) {
logger('call_hooks ' . print_r($a->hooks[$name],true) , LOGGER_DEBUG);
foreach($a->hooks[$name] as $hook) { foreach($a->hooks[$name] as $hook) {
@include_once($hook[0]); @include_once($hook[0]);
if(function_exists($hook[1])) { if(function_exists($hook[1])) {