/** * Mark export of git repositories for the daemon. */ public static function markExport() { foreach (Pluf::factory('IDF_Project')->getList() as $project) { $rep = sprintf(Pluf::f('git_repositories'), $project->shortname); $serve = new IDF_Plugin_SyncGit_Serve(); $serve->setGitExport($project->shortname, $rep); } }