diff options
Diffstat (limited to 'includes/classes')
| -rwxr-xr-x | includes/classes/FeedStatus.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/includes/classes/FeedStatus.php b/includes/classes/FeedStatus.php index 07d4b97..fb5f34a 100755 --- a/includes/classes/FeedStatus.php +++ b/includes/classes/FeedStatus.php @@ -12,6 +12,7 @@ * required setup */ namespace Bitweaver\Feed; + use Bitweaver\Liberty\LibertyComment; use Bitweaver\Users\RoleUser; @@ -27,15 +28,15 @@ class FeedStatus extends LibertyComment { * During initialisation, be sure to call our base constructors **/ public function FeedStatus($pCommentId = null, $pContentId = null, $pInfo = null) { - + LibertyComment::LibertyComment($pCommentId,$pContentId,$pInfo); - + /* // Permission setup $this->mViewContentPerm = 'p_boards_read'; $this->mUpdateContentPerm = 'p_boards_post_update'; $this->mAdminContentPerm = 'p_boards_admin'; */ - + $this->mContentTypeGuid = FEEDSTATUS_CONTENT_TYPE_GUID; $this->registerContentType( FEEDSTATUS_CONTENT_TYPE_GUID, [ 'content_type_guid' => FEEDSTATUS_CONTENT_TYPE_GUID, @@ -43,7 +44,7 @@ class FeedStatus extends LibertyComment { 'handler_class' => 'FeedStatus', 'handler_package' => 'feed', 'handler_file' => 'FeedStatus.php', - 'maintainer_url' => 'https://www.bitweaver.org' + 'maintainer_url' => 'https://www.bitweaver.org', ] ); /* $this->mViewContentPerm = 'p_loc_view'; @@ -52,7 +53,7 @@ class FeedStatus extends LibertyComment { $this->mAdminContentPerm = 'p_loc_admin'; */ } - + public function getThumbnailUrl( string $pSize = 'avatar', ?array $pInfoHash = null, ?int $pSecondaryId = null, ?int $pDefault = null ): string|null { $rootUser = new RoleUser(null,$this->mInfo['root_id']); $rootUser->load(); |
