@@ 244-250 (lines=7) @@ | ||
241 | ||
242 | $viewtopic_users = []; |
|
243 | ||
244 | if (count($userid_array) > 0) { |
|
245 | require $GLOBALS['xoops']->path('modules/' . $xoopsModule->getVar('dirname', 'n') . '/class/user.php'); |
|
246 | $userHandler = new Newbb\UserHandler($GLOBALS['xoopsModuleConfig']['groupbar_enabled'], $GLOBALS['xoopsModuleConfig']['wol_enabled']); |
|
247 | $userHandler->users = $users; |
|
248 | $userHandler->online = $online; |
|
249 | $viewtopic_users = $userHandler->getUsers(); |
|
250 | } |
|
251 | ||
252 | $pn = 0; |
|
253 | //$topicHandler = Newbb\Helper::getInstance()->getHandler('Topic'); |
@@ 274-280 (lines=7) @@ | ||
271 | } |
|
272 | ||
273 | $viewtopic_users = []; |
|
274 | if (is_array($userid_array) && count($userid_array) > 0) { |
|
275 | require $GLOBALS['xoops']->path('modules/' . $xoopsModule->getVar('dirname', 'n') . '/class/user.php'); |
|
276 | $userHandler = new Newbb\UserHandler($GLOBALS['xoopsModuleConfig']['groupbar_enabled'], $GLOBALS['xoopsModuleConfig']['wol_enabled']); |
|
277 | $userHandler->users = $users; |
|
278 | $userHandler->online = $online; |
|
279 | $viewtopic_users = $userHandler->getUsers(); |
|
280 | } |
|
281 | unset($users); |
|
282 | ||
283 | if ($GLOBALS['xoopsModuleConfig']['allow_require_reply'] && $require_reply) { |