Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the FilePile asset from the file system and the config files.
- Loading branch information
1 parent
917480f
commit f479d2e
Showing
3 changed files
with
17 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |