Removed the debug statement
This commit is contained in:
parent
d6c600ce11
commit
35f1081bfe
|
@ -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])) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user