rename an argument

git-svn-id: file:///home/shish/svn/shimmie2/trunk@260 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-12 07:22:26 +00:00
parent 8837e50a8e
commit e4657006d3

View file

@ -316,12 +316,12 @@ function array_add($array, $element) {
$_event_listeners = array();
function add_event_listener($block, $pos=50) {
function add_event_listener($extension, $pos=50) {
global $_event_listeners;
while(isset($_event_listeners[$pos])) {
$pos++;
}
$_event_listeners[$pos] = $block;
$_event_listeners[$pos] = $extension;
}
function send_event($event) {