rename an argument
git-svn-id: file:///home/shish/svn/shimmie2/trunk@260 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
8837e50a8e
commit
e4657006d3
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue