diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-07 09:51:43 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-07 09:51:43 +0400 |
commit | a2a8cc92aca6d1259fb549b09c015da8e63afe61 (patch) | |
tree | 021e7e255db73192f09e7afc6de94d69f6f601a1 | |
parent | c29d612667a50b4a6924c08526434770b299c757 (diff) |
b152.2.0-b15
-rw-r--r-- | core/Updates/2.2.0-b15.php | 27 | ||||
-rw-r--r-- | core/Version.php | 2 |
2 files changed, 28 insertions, 1 deletions
diff --git a/core/Updates/2.2.0-b15.php b/core/Updates/2.2.0-b15.php new file mode 100644 index 0000000000..07c1732be1 --- /dev/null +++ b/core/Updates/2.2.0-b15.php @@ -0,0 +1,27 @@ +<?php +/** + * Piwik - Open source web analytics + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ +namespace Piwik\Updates; + +use Piwik\Db; +use Piwik\Filesystem; +use Piwik\Updates; + +/** + */ +class Updates_2_2_0_b15 extends Updates +{ + static function update() + { + // This was added in the beta cycle and then removed + // if the file is there, it can cause bugs (we don't have an archiver in VisitFrequency anymore) + $path = PIWIK_INCLUDE_PATH . '/plugins/VisitFrequency/Archiver.php'; + if (file_exists($path)) { + Filesystem::unlinkRecursive($path); + } + } +} diff --git a/core/Version.php b/core/Version.php index 15b5cc9235..ae118e6637 100644 --- a/core/Version.php +++ b/core/Version.php @@ -21,5 +21,5 @@ final class Version * The current Piwik version. * @var string */ - const VERSION = '2.2.0-b14'; + const VERSION = '2.2.0-b15'; } |