Skip to content

Commit

Permalink
use proper mechanism for deleting statistics modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham Knop committed Jan 3, 2012
1 parent 0da6ffa commit 2bd090c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions share/upgrades/7.10.23-8.0.0/removeWebGUIStatistics.pl
Expand Up @@ -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.