Initial commit

This commit is contained in:
2021-03-23 13:54:38 +01:00
commit 82b142ff95
16941 changed files with 2617212 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
$fs = new \Symfony\Component\Filesystem\Filesystem();
$modules = [
'Carousel',
'Cheque',
'Colissimo',
'HookAnalytics',
'HookSocial',
'Tinymce'
];
foreach ($modules as $moduleCode) {
$path = THELIA_MODULE_DIR . $moduleCode . DS . 'AdminIncludes';
if ($fs->exists($path)) {
try {
$fs->remove($path);
} catch (Exception $e) {
$message = sprintf(
$this->trans('The update cannot delete the folder : "%s". Please delete this folder manually.'),
$path
);
$this->log('warning', $message);
$this->setMessage($message, 'warning');
}
}
}