Skip to content
Permalink
Browse files

Remove the FilePile asset from the file system and the config files.

  • Loading branch information...
perlDreamer committed Oct 11, 2011
1 parent 917480f commit f479d2ece85753018056e20977b4b81993e320b5
Showing with 17 additions and 278 deletions.
  1. +0 −3 etc/WebGUI.conf.original
  2. +0 −275 lib/WebGUI/Asset/FilePile.pm
  3. +17 −0 share/upgrades/7.10.18-8.0.0/removeFilePile.pl
@@ -607,9 +607,6 @@
"WebGUI::Asset::Wobject::StockData" : {
"category" : "intranet"
},
"WebGUI::Asset::FilePile" : {
"category" : "basic"
},
"WebGUI::Asset::Wobject::Collaboration" : {
"category" : "community"
},

This file was deleted.

Oops, something went wrong.
@@ -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.
You can’t perform that action at this time.