rfe: choice of type of redirect on redirect assets

This commit is contained in:
JT Smith 2008-09-16 17:51:15 +00:00
parent fc7fbfbd0c
commit 6e04c4b705
5 changed files with 85 additions and 30 deletions

View file

@ -3,6 +3,7 @@
- rfe: Town Hall: Menu title in search results
- rfe: Process Macros in HTTP Proxy's URL
- rfe: TimeZone for the User Profiles displays incorrectly after installation
- rfe: choice of type of redirect on redirect assets
- rewrite macro parser, improving speed and making parameter parsing more sane
- Made the charset metatag the highest thing in the head block.
- fixed: AssetProxy allows proxying content in the trash or clipboard

View file

@ -33,6 +33,7 @@ removeDoNothingOnDelete( $session );
fixIsPublicOnTemplates ( $session );
addSortOrderToFolder( $session );
addEMSBadgeTemplate ( $session );
redirectChoice ($session);
finish($session); # this line required
@ -89,13 +90,12 @@ sub removeDoNothingOnDelete {
}
#----------------------------------------------------------------------------
# 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 redirectChoice {
my $session = shift;
print "\tGiving a user choice about which type of redirect they'd like to perform... " unless $quiet;
$session->db->write("alter table redirect add column redirectType int not null default 302");
print "DONE!\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------