- Added "Save and Commit" option for environments where the appearance of
workflow is unwanted.
This commit is contained in:
parent
f1159269a0
commit
09af3e8785
6 changed files with 44 additions and 3 deletions
|
|
@ -22,10 +22,17 @@ sleep(1); # todd prevent duplicate timestamps
|
|||
my $session = start(); # this line required
|
||||
|
||||
deleteTemplate();
|
||||
addConfigOption();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addConfigOption {
|
||||
print "\tAdding save and commit option.\n" unless ($quiet);
|
||||
$session->config->set("enableSaveAndCommit", 0);
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub deleteTemplate {
|
||||
print "\tDeleting a template that was accidentally added.\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue