Skip to content
Snippets Groups Projects

Updates for d9 compat.

Open Tyler Marshall requested to merge issue/easychart-3217949:3217949-10 into 8.x-3.x
9 files
+ 79
14
Compare changes
  • Side-by-side
  • Inline
Files
9
+ 4
2
@@ -5,6 +5,8 @@
* Easychart drush functions.
*/
use Symfony\Component\Filesystem\Filesystem;
/**
* Implements hook_drush_command().
*/
@@ -64,7 +66,7 @@ function easychart_drush_dependencies() {
// Remove Easychart library directory.
if (is_dir($easychart_dir_name)) {
drush_delete_dir($easychart_dir_name, TRUE);
FileSystem::remove($easychart_dir_name);
drush_log(dt('An existing Easychart plugin was deleted from @libraries_path.', array('@libraries_path' => $libraries_path)), 'success');
}
@@ -86,7 +88,7 @@ function easychart_drush_dependencies() {
// Remove any existing Highcharts library directory.
if (is_dir($highcharts_dir_name)) {
drush_delete_dir($highcharts_dir_name, TRUE);
Filesystem::remove($highcharts_dir_name);
drush_log(dt('An existing Highcharts plugin was deleted from @libraries_path.', array('@libraries_path' => $libraries_path)), 'success');
}
Loading