PHP4 is dead \o/ \o/ \o/ (Part 1, make use of instanceof)

git-svn-id: file:///home/shish/svn/shimmie2/trunk@994 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2008-08-22 09:41:30 +00:00
parent 24a775678c
commit 09b2be6830
55 changed files with 211 additions and 211 deletions

View File

@ -1,7 +1,7 @@
<?php
class LoadExtData extends Extension {
public function receive_event($event) {
if(is_a($event, 'PageRequestEvent')) {
if($event instanceof PageRequestEvent) {
global $page, $config;
$data_href = get_base_href();