<?php
/**
 * Matomo - free/libre analytics platform
 *
 * @link https://matomo.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 *
 */

namespace Piwik\Updates;

use Piwik\Filesystem;
use Piwik\Tracker\Cache;
use Piwik\Updates;
use Piwik\Updater;

/**
 * Update for version 2.5.0-rc4.
 */
class Updates_2_5_0_rc4 extends Updates
{

    public function doUpdate(Updater $updater)
    {
        Cache::deleteTrackerCache();
        Filesystem::clearPhpCaches();
    }
}
