boolean function ( int arg0 ) { Forum loc0 = ForumRepository . getForum ( arg0 ) ; if ( loc0 == null || ! ForumRepository . isCategoryAccessible ( loc0 . getCategoryId ( ) ) ) { new ModerationHelper ( ) . denied ( I18n . getMessage ( "srini_string" ) ) ; return false ; } return true ; }
checks if the user is allowed to view the topic . if there currently logged user does not have access to the forum , the template context will be set to show an error message to the user , by calling new moderationhelper . denied i18n.getmessage `` postshow.denied '' concode_field_sep Object MUTEXT concode_field_sep List prepareTopics concode_elem_sep void deleteTopic concode_elem_sep List topicsByForum concode_elem_sep void updateBoardStatus concode_elem_sep void topicListingBase concode_elem_sep void notifyUsers