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:
authormattab <matthieu.aubry@gmail.com>2016-12-02 07:27:27 +0300
committermattab <matthieu.aubry@gmail.com>2016-12-02 07:27:27 +0300
commitbd095961c13249dcafbb283e5da9e028e31bd428 (patch)
tree6578c73cf3b7b693e00d91f63a03b9b0cae30b3c
parent32ed53c870717cf752f6433226eb66f88daafdff (diff)
Call createFilesForSecurity() manually in the update (doing this on cache delete affects IO performance too much in development mode)
-rw-r--r--core/Filesystem.php1
-rw-r--r--core/Updates/3.0.0-b4.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/core/Filesystem.php b/core/Filesystem.php
index 3cd045bd8a..513dcd68a8 100644
--- a/core/Filesystem.php
+++ b/core/Filesystem.php
@@ -31,7 +31,6 @@ class Filesystem
TrackerCache::deleteTrackerCache();
PiwikCache::flushAll();
self::clearPhpCaches();
- ServerFilesGenerator::createFilesForSecurity();
}
/**
diff --git a/core/Updates/3.0.0-b4.php b/core/Updates/3.0.0-b4.php
index c45e19e1c9..cb6568e28f 100644
--- a/core/Updates/3.0.0-b4.php
+++ b/core/Updates/3.0.0-b4.php
@@ -11,6 +11,7 @@ namespace Piwik\Updates;
use Piwik\Common;
use Piwik\Db;
+use Piwik\Plugins\Installation\ServerFilesGenerator;
use Piwik\Updater;
use Piwik\Updater\Migration;
use Piwik\Updater\Migration\Factory as MigrationFactory;
@@ -51,6 +52,8 @@ class Updates_3_0_0_b4 extends Updates
{
$updater->executeMigrations(__FILE__, $this->getMigrations($updater));
$updater->executeMigrations(__FILE__, $this->getUserPasswordMigrations([]));
+
+ ServerFilesGenerator::createFilesForSecurity();
}
/**