This commit is contained in:
Abdulrahman
2019-01-18 23:31:26 +03:00
parent 52b41e6ce3
commit d0408f902a
18 changed files with 281 additions and 40 deletions

View File

@@ -35,7 +35,7 @@ $kleeja_plugin['kj_ftp']['information'] = array(
# min version of kleeja that's required to run this plugin
'plugin_kleeja_version_min' => '2.0',
# max version of kleeja that support this plugin, use 0 for unlimited
'plugin_kleeja_version_max' => '3.0',
'plugin_kleeja_version_max' => '3.9',
# should this plugin run before others?, 0 is normal, and higher number has high priority
'plugin_priority' => 0
);
@@ -172,9 +172,10 @@ $kleeja_plugin['kj_ftp']['uninstall'] = function ($plg_id) {
// 'kj_ftp_home_meta_keywords'
// ));
delete_olang(null, null, $plg_id);
//delete language variables
foreach (['ar', 'en'] as $language) {
delete_olang(null, $language, $plg_id);
}
};