rss triggered by PostListBuilding

git-svn-id: file:///home/shish/svn/shimmie2/trunk@403 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-08-01 15:48:07 +00:00
parent 57f7f82074
commit b8483ba015
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
class RSS_Comments extends Extension {
// event handling {{{
public function receive_event($event) {
if(is_a($event, 'PageRequestEvent') && ($event->page_name == "index")) {
if(is_a($event, 'PostListBuildingEvent')) {
global $page;
global $config;
$title = $config->get_string('title');

View File

@ -3,7 +3,7 @@
class RSS_Images extends Extension {
// event handling {{{
public function receive_event($event) {
if(is_a($event, 'PageRequestEvent') && ($event->page_name == "index")) {
if(is_a($event, 'PostListBuildingEvent')) {
global $page;
global $config;
$title = $config->get_string('title');