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:
authorStefan Giehl <stefan@piwik.org>2017-05-08 11:08:09 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-05-08 11:08:09 +0300
commit7020b47f9535f91a26923c2e6d280fbafa67c93c (patch)
treeadc198fa910971dd308c2f786ee08e09942bde6a /plugins/CoreUpdater
parentc932217d567c4af51fb361e5bbcf3e108e6a7e81 (diff)
remove old files from libs and vendor on update (#11634)
Diffstat (limited to 'plugins/CoreUpdater')
-rw-r--r--plugins/CoreUpdater/Model.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CoreUpdater/Model.php b/plugins/CoreUpdater/Model.php
index e03015e1b3..fa0ab59785 100644
--- a/plugins/CoreUpdater/Model.php
+++ b/plugins/CoreUpdater/Model.php
@@ -26,6 +26,8 @@ class Model
public function removeGoneFiles($source, $target)
{
Filesystem::unlinkTargetFilesNotPresentInSource($source . '/core', $target . '/core');
+ Filesystem::unlinkTargetFilesNotPresentInSource($source . '/libs', $target . '/libs');
+ Filesystem::unlinkTargetFilesNotPresentInSource($source . '/vendor', $target . '/vendor');
foreach ($this->getPluginsFromDirectoy($source) as $pluginDir) {
Filesystem::unlinkTargetFilesNotPresentInSource($source . $pluginDir, $target . $pluginDir);