diff options
author | Nathan Neulinger <nneul@umr.edu> | 2006-01-31 23:20:19 +0100 |
---|---|---|
committer | Nathan Neulinger <nneul@umr.edu> | 2006-01-31 23:20:19 +0100 |
commit | c0f9af6d02ac1aebd4c0ce700f81d28a75170017 (patch) | |
tree | 229322148aced80a034aa92a43231e3ba3bf1597 | |
parent | 2b240359a00e1a687e81a31b99aa4e5a3a7e42e7 (diff) | |
download | rpg-c0f9af6d02ac1aebd4c0ce700f81d28a75170017.tar.gz rpg-c0f9af6d02ac1aebd4c0ce700f81d28a75170017.tar.bz2 |
fix for feed.php and new auth mechanism
darcs-hash:20060131222019-effc9-784af6d641de5bfb57a15897fd657a94714629ce.gz
-rw-r--r-- | feed.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |