diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-14 14:18:43 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-14 14:18:43 +0400 |
commit | 67511411c094c7079183186cd4abab7734d1a302 (patch) | |
tree | 3e335e24efa3c67f7ad793c30ad2a98155252512 /core | |
parent | 94f587fb8d1a03f523ef2b8e0cb33a249af7f6cc (diff) |
better code [skipci]
Diffstat (limited to 'core')
-rw-r--r-- | core/Updates/2.5.0-rc2.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/Updates/2.5.0-rc2.php b/core/Updates/2.5.0-rc2.php index 0288284304..6dcd37e4be 100644 --- a/core/Updates/2.5.0-rc2.php +++ b/core/Updates/2.5.0-rc2.php @@ -25,11 +25,9 @@ class Updates_2_5_0_rc2 extends Updates foreach ($files as $file) { $path = PIWIK_INCLUDE_PATH . $file; - if (!file_exists($path)) { - continue; + if (file_exists($path)) { + self::deleteIfLastModifiedBefore14August2014($path); } - - self::deleteIfLastModifiedBefore14August2014($path); } } |