rss triggered by PostListBuilding
git-svn-id: file:///home/shish/svn/shimmie2/trunk@403 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
57f7f82074
commit
b8483ba015
@ -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');
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user