brain fail
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1126 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
3ff15a1395
commit
ecfc4489ce
@ -10,7 +10,7 @@
|
|||||||
class RandomImage implements Extension {
|
class RandomImage implements Extension {
|
||||||
public function receive_event(Event $event) {
|
public function receive_event(Event $event) {
|
||||||
if(($event instanceof PageRequestEvent) && $event->page_matches("random_image")) {
|
if(($event instanceof PageRequestEvent) && $event->page_matches("random_image")) {
|
||||||
global $database;
|
global $config;
|
||||||
global $database;
|
global $database;
|
||||||
|
|
||||||
if($event->count_args() == 1) {
|
if($event->count_args() == 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user