Beispiel #1
0
        }
        return $consistencyErrors;
    }
    /**
     * managers get some more consistencyErrors
     * @param User $this->session_user
     * @return mixed[]
     */
    private function getConsistencyErrorsMgr()
    {
        $consistencyErrors = array();
        // if null, array_merge fails !
        /*
              $mTeamList = array_keys($this->session_user->getManagedTeamList());
              $lTeamList = array_keys($this->session_user->getLeadedTeamList());
              $teamList = array_merge($mTeamList, $lTeamList);
        
              $issueList = array();
              foreach ($teamList as $teamid) {
                 $issues = TeamCache::getInstance()->getTeam($teamid)->getTeamIssueList(true, false);
                 $issueList = array_merge($issueList, $issues);
              }
        */
        // nothing to check right now...
        return $consistencyErrors;
    }
}
// ========== MAIN ===========
IndexController::staticInit();
$controller = new IndexController('./', Constants::$homepage_title, 'index');
$controller->execute();