From 28432296bf7da18a90449c77b224aca1a87f6dc2 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Tue, 20 Jan 2009 17:37:37 +0100 Subject: [PATCH] Fixed the bad static call. --- src/IDF/Plugin/SyncGit/Cron.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/IDF/Plugin/SyncGit/Cron.php b/src/IDF/Plugin/SyncGit/Cron.php index faff5ee..7ac5df5 100644 --- a/src/IDF/Plugin/SyncGit/Cron.php +++ b/src/IDF/Plugin/SyncGit/Cron.php @@ -64,7 +64,8 @@ class IDF_Plugin_SyncGit_Cron { foreach (Pluf::factory('IDF_Project')->getList() as $project) { $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); } }