summaryrefslogtreecommitdiff
path: root/boards_rss.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-15 15:39:14 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-15 15:39:14 +0100
commitd57a7a55a92fc20a7f281cf940b920d945323bba (patch)
tree195ce6688b4ea0d39ad05b42d3f751798026c9c7 /boards_rss.php
parent9162909f3173a630f542087add748e8d5d48e82b (diff)
downloadboards-d57a7a55a92fc20a7f281cf940b920d945323bba.tar.gz
boards-d57a7a55a92fc20a7f281cf940b920d945323bba.tar.bz2
boards-d57a7a55a92fc20a7f281cf940b920d945323bba.zip
To simplyfy maintenence BitUser classes have been retired and active code base defaulted to ROLE_MODEL
Diffstat (limited to 'boards_rss.php')
-rwxr-xr-xboards_rss.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/boards_rss.php b/boards_rss.php
index 09cc042..c8a4244 100755
--- a/boards_rss.php
+++ b/boards_rss.php
@@ -5,6 +5,8 @@
* @subpackage functions
*/
+use Bitweaver\Users\RoleUser;
+
/**
* Initialization
*/
@@ -100,7 +102,7 @@ foreach( $feeds as $feed ) {
$item->link = 'http://'.$_SERVER['HTTP_HOST'].BIT_ROOT_URL.'index.php?content_id='.$feed['content_id']; //comment paths are tricky, but work automagically through the front door
$item->description = $feed['parsed_data'];
$item->date = ( int )$feed['last_modified'];
- $user = new BitUser($feed['user_id']);
+ $user = new RoleUser($feed['user_id']);
break;
case 'bitboard':
default:
@@ -122,7 +124,7 @@ foreach( $feeds as $feed ) {
//TODO allow proper sort order
//$item->date = ( int )$feed['event_date'];
$item->date = ( int )$feed['llc_last_modified'];
- $user = new BitUser($feed['llc_user_id']);
+ $user = new RoleUser($feed['llc_user_id']);
break;
}