/** * Add log access for git pushs * * @param Array $params parameters of the event * * @return Void */ function logsDaily($params) { $pm = ProjectManager::instance(); $project = $pm->getProject($params['group_id']); if ($project->usesService(GitPlugin::SERVICE_SHORTNAME)) { require_once 'Git.class.php'; $controler = new Git($this); $controler->logsDaily($params); } }