summaryrefslogtreecommitdiff
path: root/feed.php
diff options
context:
space:
mode:
authorNathan Neulinger <nneul@umr.edu>2006-01-31 23:20:19 +0100
committerNathan Neulinger <nneul@umr.edu>2006-01-31 23:20:19 +0100
commitc0f9af6d02ac1aebd4c0ce700f81d28a75170017 (patch)
tree229322148aced80a034aa92a43231e3ba3bf1597 /feed.php
parent2b240359a00e1a687e81a31b99aa4e5a3a7e42e7 (diff)
downloadrpg-c0f9af6d02ac1aebd4c0ce700f81d28a75170017.tar.gz
rpg-c0f9af6d02ac1aebd4c0ce700f81d28a75170017.tar.bz2
fix for feed.php and new auth mechanism
darcs-hash:20060131222019-effc9-784af6d641de5bfb57a15897fd657a94714629ce.gz
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/feed.php b/feed.php
index 27cd04581..7cda26032 100644
--- a/feed.php
+++ b/feed.php
@@ -91,6 +91,8 @@
*/
function rssRecentChanges(&$rss,$num,$ltype,$ns,$minor){
global $conf;
+ global $auth;
+
if(!$num) $num = $conf['recent'];
$guardmail = ($conf['mailguard'] != '' && $conf['mailguard'] != 'none');
@@ -148,7 +150,7 @@ function rssRecentChanges(&$rss,$num,$ltype,$ns,$minor){
$item->author = '';
if($user){
- $userInfo = auth_getUserData($user);
+ $userInfo = $auth->getUserData($user);
$item->author = $userInfo['name'];
if($guardmail) {
//cannot obfuscate because some RSS readers may check validity