From c8bbf0fdf6d2c1df6f3539663c4010faaba214e1 Mon Sep 17 00:00:00 2001 From: Axel Hahn <axel.hahn@iml.unibe.ch> Date: Mon, 20 Apr 2015 14:52:25 +0200 Subject: [PATCH] - added cronjob to cache branches and tags --- public_html/deployment/classes/vcs.git.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/public_html/deployment/classes/vcs.git.class.php b/public_html/deployment/classes/vcs.git.class.php index b7bb0bca..af89c12a 100644 --- a/public_html/deployment/classes/vcs.git.class.php +++ b/public_html/deployment/classes/vcs.git.class.php @@ -212,7 +212,6 @@ class vcs implements iVcs { $oCache = new AhCache($this->_getNameOfCacheModule(), "RemoteBranches"); // list of cached branch keys - $aKeysToDelete = array(); if ($oCache->isExpired() || $bForceNoCache) { $sWorkdir = dirname($this->_sTempDir) . '/fetchRemoteBranches/'; $sGitCmd = 'export GIT_SSH="' . $this->_sWrapper . '" ; export PKEY="' . $this->_sKeyfile . '" ; '; -- GitLab