From a63409c4ba70884fbf3a11ca7e73c2dc3cdd2a91 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Sun, 29 Nov 2020 14:04:18 +0100 Subject: [PATCH] Composer: When updating the folder vendor/pclzip will be deleted. Also the list has been reorder. --- src/Chamilo/CoreBundle/Composer/ScriptHandler.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/Chamilo/CoreBundle/Composer/ScriptHandler.php b/src/Chamilo/CoreBundle/Composer/ScriptHandler.php index 7c95853bc1..ff14354968 100644 --- a/src/Chamilo/CoreBundle/Composer/ScriptHandler.php +++ b/src/Chamilo/CoreBundle/Composer/ScriptHandler.php @@ -67,6 +67,10 @@ class ScriptHandler public static function getFoldersToDelete() { $paths = [ + __DIR__.'/../../../../app/Resources/public/assets/bootstrap/docs', + __DIR__.'/../../../../app/Resources/public/assets/bootstrap/nuget', + __DIR__.'/../../../../app/Resources/public/assets/bootstrap/grunt', + __DIR__.'/../../../../app/Resources/public/assets/bootstrap/test-infra', __DIR__.'/../../../../archive/', __DIR__.'/../../../../main/announcements/resources', __DIR__.'/../../../../main/conference/', @@ -103,16 +107,11 @@ class ScriptHandler __DIR__.'/../../../../main/inc/lib/htmlpurifier', __DIR__.'/../../../../main/pear/excelreader/', __DIR__.'/../../../../main/resourcelinker', - // Remove from 1.10 - __DIR__.'/../../../../plugin/ticket', - __DIR__.'/../../../../plugin/skype', __DIR__.'/../../../../main/newscorm', __DIR__.'/../../../../main/exercice', - // js files - __DIR__.'/../../../../app/Resources/public/assets/bootstrap/docs', - __DIR__.'/../../../../app/Resources/public/assets/bootstrap/nuget', - __DIR__.'/../../../../app/Resources/public/assets/bootstrap/grunt', - __DIR__.'/../../../../app/Resources/public/assets/bootstrap/test-infra', + __DIR__.'/../../../../plugin/ticket', + __DIR__.'/../../../../plugin/skype', + __DIR__.'/../../../../vendor/pclzip', __DIR__.'/../../../../web/assets/bootstrap/grunt', __DIR__.'/../../../../web/assets/bootstrap/nuget', __DIR__.'/../../../../web/assets/bootstrap/docs',