minor consistency cleanup
This commit is contained in:
@@ -35,7 +35,7 @@ function event_handler($event, $callback) {
|
||||
global $events;
|
||||
|
||||
if (!isset($events[$event]))
|
||||
$events[$event] = Array();
|
||||
$events[$event] = array();
|
||||
|
||||
$events[$event][] = $callback;
|
||||
}
|
||||
@@ -43,6 +43,6 @@ function event_handler($event, $callback) {
|
||||
function reset_events() {
|
||||
global $events;
|
||||
|
||||
$events = Array();
|
||||
$events = array();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user