Skip to content

Commit f479d2e

Browse files
committedOct 11, 2011
Remove the FilePile asset from the file system and the config files.
1 parent 917480f commit f479d2e

File tree

3 files changed

+17
-278
lines changed

3 files changed

+17
-278
lines changed
 

‎etc/WebGUI.conf.original

-3
Original file line numberDiff line numberDiff line change
@@ -607,9 +607,6 @@
607607
"WebGUI::Asset::Wobject::StockData" : {
608608
"category" : "intranet"
609609
},
610-
"WebGUI::Asset::FilePile" : {
611-
"category" : "basic"
612-
},
613610
"WebGUI::Asset::Wobject::Collaboration" : {
614611
"category" : "community"
615612
},

‎lib/WebGUI/Asset/FilePile.pm

-275
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
use WebGUI::Upgrade::Script;
2+
use File::Spec;
3+
use WebGUI::Paths;
4+
use Cwd qw(realpath);
5+
6+
start_step "Removing FilePile asset from config file";
7+
8+
session->config->delete( 'assets/FilePile' );
9+
10+
done;
11+
12+
start_step "Removing FilePile asset module";
13+
14+
my $webgui_root = realpath( File::Spec->catdir( WebGUI::Paths->configBase, (File::Spec->updir) x 1 ) );
15+
unlink File::Spec->catfile($webgui_root, 'lib', 'WebGUI', 'Asset', 'FilePile');
16+
17+
done;

0 commit comments

Comments
 (0)
Please sign in to comment.