minor consistency cleanup

This commit is contained in:
Michael Save
2012-08-27 21:50:15 +10:00
parent eb146d9201
commit 913010cff5
11 changed files with 35 additions and 323 deletions

View File

@@ -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();
}