Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2010-03-22 02:34:22 +0300
committerrobocoder <anthon.pang@gmail.com>2010-03-22 02:34:22 +0300
commitf859d55a497a76b13de6b7a283c7ff2bb7e7b1c0 (patch)
tree32caae119d7ffaa94827d86817fc5d3b180e7024 /core/Updater.php
parent2ae37ee86115079a3188b27eb6117b673cc58aa8 (diff)
refs #1226 - glob() may return false on no match -- we still want to mark the component as updated; deprecate getInstalledPlugins() because the result is the same as returning $this->getLoadedPlugins()
git-svn-id: http://dev.piwik.org/svn/trunk@1969 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Updater.php b/core/Updater.php
index b7402d85be..1e3514fc5d 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -199,8 +199,9 @@ class Piwik_Updater
$files = glob( $pathToUpdates );
if($files === false)
{
- continue;
+ $files = array();
}
+
foreach( $files as $file)
{
$fileVersion = basename($file, '.php');