From 0854bd6829977df9c31530eef39d76af734a1cc7 Mon Sep 17 00:00:00 2001 From: hahn <axel.hahn@iml.unibe.ch> Date: Thu, 15 Sep 2022 14:44:15 +0200 Subject: [PATCH] rename flag to bIgnoreCache --- public_html/deployment/classes/project.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php index 578ed0ad..88576602 100644 --- a/public_html/deployment/classes/project.class.php +++ b/public_html/deployment/classes/project.class.php @@ -1221,8 +1221,8 @@ class project extends base { * @param bool $bIgnoreCache flag to ignore exiting cached data * @return string */ - public function renderSelectRemoteBranches($sActiveBranchname = false, $bForceNoCache=false) { - $this->log(__FUNCTION__."(sActiveBranchname = $sActiveBranchname, bForceNoCache = ".($bForceNoCache ? 'true' : 'false').") start"); + public function renderSelectRemoteBranches($sActiveBranchname = false, $bIgnoreCache=false) { + $this->log(__FUNCTION__."(sActiveBranchname = $sActiveBranchname, bIgnoreCache = ".($bIgnoreCache ? 'true' : 'false').") start"); $aReturn = array(); $aRadios = array(); $bFoundActive = false; @@ -1239,7 +1239,7 @@ class project extends base { // the version control class does not have this method return ''; } - foreach ($this->_oVcs->getRemoteBranches($bForceNoCache) as $aBranch) { + foreach ($this->_oVcs->getRemoteBranches($bIgnoreCache) as $aBranch) { $sBranch = $aBranch['name']; $aRadios[$sBranch] = array( 'value' => $sBranch, -- GitLab