Skip to content
Permalink
Browse files

use proper mechanism for deleting statistics modules

  • Loading branch information...
Graham Knop
Graham Knop committed Jan 3, 2012
1 parent 0da6ffa commit 2bd090cd2b11c693c17add737c493b24e025488e
Showing with 2 additions and 3 deletions.
  1. +2 −3 share/upgrades/7.10.23-8.0.0/removeWebGUIStatistics.pl
@@ -18,8 +18,7 @@
$task && $task->delete;

report "Deleting files";
my $webgui_root = realpath( File::Spec->catdir( WebGUI::Paths->configBase, (File::Spec->updir) x 1 ) );
unlink File::Spec->catfile($webgui_root, 'lib', 'WebGUI', 'Operation', 'Statistics.pm');
unlink File::Spec->catfile($webgui_root, 'lib', 'WebGUI', 'Workflow', 'Activity', 'SendWebguiStats.pm');
rm_lib 'WebGUI::Operation::Statistics';
rm_lib 'WebGUI::Workflow::Activity::SendWebguiStats';

done;

0 comments on commit 2bd090c

Please sign in to comment.
You can’t perform that action at this time.