Skip to content

Commit

Permalink
Update Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gamma committed Oct 24, 2017
1 parent 53b6884 commit c4c7a85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.php
Expand Up @@ -21,7 +21,7 @@ function register(Doku_Event_Handler $controller) {
$controller->register_hook('FEED_DATA_PROCESS', 'BEFORE', $this, 'rss_action_pre');
}

function rss_action(&$event, $args) {
function rss_action(Doku_Event $event, $args) {
global $conf;

if ( $event->data['opt']['item_content'] == 'abstract' ) {
Expand All @@ -45,7 +45,7 @@ function rss_action(&$event, $args) {
return true;
}

function rss_action_pre(&$event, $args) {
function rss_action_pre(Doku_Event $event, $args) {
global $conf;
$event->data['rss']->title = $conf['title'];

Expand Down

0 comments on commit c4c7a85

Please sign in to comment.