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;