Add Skype plugin folder deletion to files migration from 1.10 to 1.11 - fixes #2005

pull/2487/head
Yannick Warnier 9 years ago
parent 9e82fd092c
commit 7262b203a2
  1. 6
      main/install/update-files-1.10.0-1.11.0.inc.php

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

Loading…
Cancel
Save