forked from Cavemanon/cavepaintings
port page_matches from score to trunk
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1028 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@@ -25,7 +25,7 @@ class RSS_Images implements Extension {
|
||||
}
|
||||
}
|
||||
|
||||
if(($event instanceof PageRequestEvent) && ($event->page_name == "rss")) {
|
||||
if(($event instanceof PageRequestEvent) && $event->page_matches("rss")) {
|
||||
if($event->get_arg(0) == 'images') {
|
||||
global $database;
|
||||
if($event->count_args() >= 2) {
|
||||
|
Reference in New Issue
Block a user