From c7d0615cf5f0abec9d5922419bc3dd6dd668e63c Mon Sep 17 00:00:00 2001 From: Megan Watson Date: Fri, 15 Feb 2008 15:54:20 +0000 Subject: [PATCH] KTS-3043 "On reread of plugins the quicklinks plugin is set to disabled" Fixed. Moved the checks on the end version after an upgrade into the if statement containing the upgrade. --- lib/plugins/plugin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/plugin.inc.php b/lib/plugins/plugin.inc.php index 853fb8f..e850207 100644 --- a/lib/plugins/plugin.inc.php +++ b/lib/plugins/plugin.inc.php @@ -694,7 +694,6 @@ class KTPlugin { // capture the filname version. // remember to -start- the upgrade from the "next" version $iEndVersion = $this->upgradePlugin($oEntity->getVersion()+1, $this->iVersion); - } if ($iEndVersion != $this->iVersion) { // we obviously failed. @@ -716,6 +715,7 @@ class KTPlugin { )); } + } /* ** Quick fix for optimisation. Reread must run plugin setup. ** */ $this->setup(); return $oEntity; -- libgit2 0.21.4