3
Quote:
If it is used in a module to determine whether the user is admin in THAT module, then it is used wrongly.
Thank you for replying.
I received the same indication from Mr. onokazu,I understood.
But,default template uses the method($xoops_isadmin).
Is it right?
modules/system/templates/system_comment.html
line:25
<{if $xoops_isadmin == true}>
And newbb module : viewforum.php line 89
if ( $xoopsUser->isAdmin() || is_moderator($forum, $xoopsUser->uid()) ) {
Are these a bad sample to 3rd party module developers?