Skip to content

Commit

Permalink
Remove the FilePile asset from the file system and the config files.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Oct 11, 2011
1 parent 917480f commit f479d2e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 278 deletions.
3 changes: 0 additions & 3 deletions etc/WebGUI.conf.original
Expand Up @@ -607,9 +607,6 @@
"WebGUI::Asset::Wobject::StockData" : {
"category" : "intranet"
},
"WebGUI::Asset::FilePile" : {
"category" : "basic"
},
"WebGUI::Asset::Wobject::Collaboration" : {
"category" : "community"
},
Expand Down
275 changes: 0 additions & 275 deletions lib/WebGUI/Asset/FilePile.pm

This file was deleted.

17 changes: 17 additions & 0 deletions share/upgrades/7.10.18-8.0.0/removeFilePile.pl
@@ -0,0 +1,17 @@
use WebGUI::Upgrade::Script;
use File::Spec;
use WebGUI::Paths;
use Cwd qw(realpath);

start_step "Removing FilePile asset from config file";

session->config->delete( 'assets/FilePile' );

done;

start_step "Removing FilePile asset module";

my $webgui_root = realpath( File::Spec->catdir( WebGUI::Paths->configBase, (File::Spec->updir) x 1 ) );
unlink File::Spec->catfile($webgui_root, 'lib', 'WebGUI', 'Asset', 'FilePile');

done;

0 comments on commit f479d2e

Please sign in to comment.