|
|
|
@ -33,10 +33,16 @@ if (defined('SYSTEM_INSTALLATION')) { |
|
|
|
if (is_dir($lpPath)) { |
|
|
|
if (is_dir($lpPath)) { |
|
|
|
@rrmdir($lpPath); |
|
|
|
@rrmdir($lpPath); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// The ticket plugin has been moved to core in 1.11 |
|
|
|
$ticketPluginPath = api_get_path(SYS_PLUGIN_PATH).'ticket'; |
|
|
|
$ticketPluginPath = api_get_path(SYS_PLUGIN_PATH).'ticket'; |
|
|
|
if (is_dir($ticketPluginPath)) { |
|
|
|
if (is_dir($ticketPluginPath)) { |
|
|
|
@rrmdir($ticketPluginPath); |
|
|
|
@rrmdir($ticketPluginPath); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// The Skype plugin has been moved to core in 1.11 |
|
|
|
|
|
|
|
$skypePluginPath = api_get_path(SYS_PLUGIN_PATH).'skype'; |
|
|
|
|
|
|
|
if (is_dir($skypePluginPath)) { |
|
|
|
|
|
|
|
@rrmdir($skypePluginPath); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ($debug) { |
|
|
|
if ($debug) { |
|
|
|
error_log('Folders cleaned up'); |
|
|
|
error_log('Folders cleaned up'); |
|
|
|
|