March-hare/Ushahidi_Web — pull request #1 by evoltech (2012-02-17 01:48:24+00:00)
Title: Issue #256: Event::replace does not allow class overriding

The issue was with [array_search](http://us3.php.net/array_search) where the third argument when passed TRUE expects objects to be of the same instance. This gets in the way of overriding the event handlers of other classes like so

```
Event::replace($event_name, array($class, $function_name), array($this, $function_name));
```