Replaced CLI gallery import system with a better one.

This commit is contained in:
JT Smith 2008-06-29 02:01:40 +00:00
parent d902c7ec79
commit aa9f0e8396
10 changed files with 464 additions and 1073 deletions

View file

@ -2,6 +2,7 @@
- fixed: Colorpicker window would not open (Martin Kamerbeek / Oqapi)
- fixed: Reverted change to RichEdit that caused IE6 to stop working
- fixed: Subscription: Price not displaying
- Replaced CLI gallery import system with a better one.
- fixed: Flat Discount Coupon: Add to Cart button seems broken
- fixed: Deleting unProtected user profile fields

View file

@ -20,7 +20,7 @@ use Getopt::Long;
use WebGUI::Session;
use WebGUI::Storage;
use WebGUI::Asset;
use File::Path;
my $toVersion = '7.5.15';
my $quiet; # this line required
@ -28,19 +28,21 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
removeOldGalleryImport($session);
finish($session); # this line required
#----------------------------------------------------------------------------
# Describe what our function does
#sub exampleFunction {
# my $session = shift;
# print "\tWe're doing some stuff here that you should know about... " unless $quiet;
# # and here's our code
# print "DONE!\n" unless $quiet;
#}
sub removeOldGalleryImport {
my $session = shift;
print "\tRemoving old gallery import mechanism... " unless $quiet;
unlink "../../sbin/migrateCollabToGallery.pl";
unlink "../../sbin/migrateFolderToGallery.pl";
rmtree "../../lib/WebGUI/Utility";
rmtree "../../t/Utility/Gallery";
print "DONE!\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------