Added 'Allow access from Macro's' setting to Database Links
This commit is contained in:
parent
d057dba239
commit
5a0bd14476
4 changed files with 26 additions and 1 deletions
|
|
@ -33,11 +33,23 @@ addNewsletter($session);
|
|||
addHttpProxyUrlPatternFilter($session);
|
||||
addCanStartThreadToCS($session);
|
||||
addPostCaptchaToCS($session);
|
||||
addMacroAccessToDatabaseLinks($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#-------------------------------------------------
|
||||
|
||||
sub addMacroAccessToDatabaseLinks {
|
||||
my $session = shift;
|
||||
print "\tAdding allowMacroAccess setting to Database Links..." unless ($quiet);
|
||||
|
||||
$session->db->write("ALTER TABLE databaseLink add column allowMacroAccess integer NOT NULL default 0");
|
||||
|
||||
print "OK\n";
|
||||
return;
|
||||
}
|
||||
#-------------------------------------------------
|
||||
|
||||
sub addPostCaptchaToCS {
|
||||
my $session = shift;
|
||||
print "\tAdding useCaptcha setting to Collaboration Systems..." unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue