diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-21 13:57:20 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-21 13:57:20 +0400 |
commit | a9a4fddb01c80d0832096f25f46f926a4d9b7e6d (patch) | |
tree | 258ccdad77405f8ce16d9dd9fe3e8bb246d0d0cd /core/Updater.php | |
parent | 15b7e55222726f1c774f662bc674d06e9ff30161 (diff) |
Refs #660
Merged assets were only deleted if a new version had some schema updates. Forcing to remove assets whenever a different version is detected.
git-svn-id: http://dev.piwik.org/svn/trunk@2612 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Updater.php')
-rw-r--r-- | core/Updater.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Updater.php b/core/Updater.php index b45a16436f..69756fa14a 100644 --- a/core/Updater.php +++ b/core/Updater.php @@ -81,7 +81,7 @@ class Piwik_Updater */ public function getComponentsWithUpdateFile() { - $this->componentsWithNewVersion = $this->loadComponentsWithNewVersion(); + $this->componentsWithNewVersion = $this->getComponentsWithNewVersion(); $this->componentsWithUpdateFile = $this->loadComponentsWithUpdateFile(); return $this->componentsWithUpdateFile; } @@ -231,7 +231,7 @@ class Piwik_Updater * * @return array array( componentName => array( oldVersion, newVersion), [...]) */ - private function loadComponentsWithNewVersion() + public function getComponentsWithNewVersion() { $componentsToUpdate = array(); |