Remove old language files during update

This commit is contained in:
Tuan Pham Ngoc 2021-08-15 17:42:11 +07:00
parent 931b5c453d
commit 20c38d7a95
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class Com_WeblinksInstallerScript
'/components/com_weblinks/weblinks.php',
'/components/com_weblinks/metadata.xml',
'/components/com_weblinks/router.php',
'/language/en-GB/en-GB.com_weblinks.ini',
];
$folders = [
@ -59,6 +60,7 @@ class Com_WeblinksInstallerScript
'/components/com_weblinks/controllers',
'/administrator/components/com_weblinks/models',
'/administrator/components/com_weblinks/views',
'/administrator/language/en-GB/en-GB.com_weblinks.ini',
];
foreach ($files as $file)