- Added a switch to allow the use of non-WebGUI objects with the Workflow

engine.
This commit is contained in:
JT Smith 2009-02-08 21:20:32 +00:00
parent d32137b5db
commit be42bb0856
3 changed files with 20 additions and 9 deletions

View file

@ -1,4 +1,6 @@
7.6.11
- Added a switch to allow the use of non-WebGUI objects with the Workflow
engine.
- fixed #9579: initialize keyword field because get fills it in now due to a recent code change
- fixed #9596: caching now takes into account the correct parameter for pagination
- fixed #9596: Articles now use a semi-unique pagination variable based on asset id

View file

@ -34,19 +34,19 @@ hideGalleryAlbums($session);
removeBrokenWorkflowInstances($session);
undotBinaryExtensions($session);
removeProcessRecurringPaymentsFromConfig($session);
noSessionSwitch($session);
fixDottedAssetIds($session); ##This one should run last
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 noSessionSwitch {
my $session = shift;
print "\tAdding noSession switch to Workflow Instances..." unless $quiet;
$session->db->write("alter table WorkflowInstance add column noSession boolean not null default 0");
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub removeProcessRecurringPaymentsFromConfig {