Fixed the bad static call.

This commit is contained in:
Loic d'Anterroches 2009-01-20 17:37:37 +01:00
parent 5d3ce34c4b
commit 28432296bf

View File

@ -64,7 +64,8 @@ class IDF_Plugin_SyncGit_Cron
{ {
foreach (Pluf::factory('IDF_Project')->getList() as $project) { foreach (Pluf::factory('IDF_Project')->getList() as $project) {
$rep = sprintf(Pluf::f('git_repositories'), $project->shortname); $rep = sprintf(Pluf::f('git_repositories'), $project->shortname);
IDF_Plugin_SyncGit_Serve::setGitExport($project->shortname, $rep); $serve = new IDF_Plugin_SyncGit_Serve();
$serve->setGitExport($project->shortname, $rep);
} }
} }