/**
  * @return array|bool
  */
 function getModeratorBoards()
 {
     if ($this->parent->getIsAdmin()) {
         return true;
     }
     $groups = $GLOBALS['TSFE']->fe_user->groupData['uid'];
     if (count($groups) == 0) {
         return false;
     }
     $queryParts = array();
     foreach ($groups as $group) {
         $queryParts[] = 'FIND_IN_SET(' . $group . ',c.grouprights_mod)';
         $queryParts[] = 'FIND_IN_SET(' . $group . ',f.grouprights_mod)';
     }
     $query = implode(' OR ', $queryParts);
     $res = $this->databaseHandle->exec_SELECTquery('f.uid', 'tx_mmforum_forums f LEFT JOIN tx_mmforum_forums c ON c.uid=f.parentID', 'f.deleted=0 AND c.deleted=0 AND (' . $query . ')');
     $result = array();
     while (list($uid) = $this->databaseHandle->sql_fetch_row($res)) {
         $result[] = $uid;
     }
     return count($result) ? $result : false;
 }