- removed old CS based photo gallery prototype in favor of the new gallery
asset
This commit is contained in:
parent
0abdfd1dd2
commit
b9b68a8655
3 changed files with 17 additions and 10 deletions
|
|
@ -6,6 +6,8 @@
|
|||
the web interface, but the package would be imported successfully.
|
||||
- fix: 7.5.0 upgrade template for time tracker was corrupt.
|
||||
- fix: replaced return; with return undef; and changed WGBP.
|
||||
- removed old CS based photo gallery prototype in favor of the new gallery
|
||||
asset
|
||||
|
||||
7.5.0
|
||||
- rfe: Search Asset returns URLs
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@ save you many hours of grief.
|
|||
details.
|
||||
Your custom Event Edit and Event View templates may need fixing.
|
||||
|
||||
* If you want to use the beta, you must first upgrade to 7.4.21 then
|
||||
upgrade to the beta. If you upgrade past 7.4.21 then you cannot
|
||||
use the beta.
|
||||
|
||||
7.4.12
|
||||
--------------------------------------------------------------------
|
||||
* Any customizations made to the Matrix default Search, Compare or
|
||||
|
|
|
|||
|
|
@ -16,23 +16,24 @@ use WebGUI::Storage;
|
|||
use WebGUI::Asset;
|
||||
|
||||
|
||||
my $toVersion = "0.0.0"; # make this match what version you're going to
|
||||
my $toVersion = "7.5.1"; # make this match what version you're going to
|
||||
my $quiet; # this line required
|
||||
|
||||
|
||||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
|
||||
removeOldPhotoGallery($session);
|
||||
finish($session); # this line required
|
||||
|
||||
|
||||
##-------------------------------------------------
|
||||
#sub exampleFunction {
|
||||
# my $session = shift;
|
||||
# print "\tWe're doing some stuff here that you should know about.\n" unless ($quiet);
|
||||
# # and here's our code
|
||||
#}
|
||||
#-------------------------------------------------
|
||||
sub removeOldPhotoGallery {
|
||||
my $session = shift;
|
||||
print "\tRemoving CS Photo Gallery prototype.\n" unless ($quiet);
|
||||
my $gallery = WebGUI::Asset->newByDynamicClass($session, "pbproto000000000000001");
|
||||
if (defined $gallery) {
|
||||
$gallery->purge;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# --------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue