예제 #1
0
파일: Cron.php 프로젝트: burbuja/indefero
 /**
  * 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);
     }
 }