Added Database link access for SQL Macro

This commit is contained in:
Yung Han Khoe 2008-05-27 15:27:52 +00:00
parent b020387643
commit f3b14a227c
7 changed files with 116 additions and 30 deletions

View file

@ -67,6 +67,7 @@
- fixed: CS mail retrieval doesn't decode subject properly
- fixed: email password recovery fields effected by UI level
- Complete rewrite of the Asset Manager
- added: Database link access for SQL Macro (Yung Han Khoe)
7.5.10
- fix: Syntax error in GetCsMail

View file

@ -61,6 +61,7 @@ addVendors($session);
modifyThingyPossibleValues( $session );
removeLegacyTable($session);
migrateSubscriptions( $session );
addDBLinkAccessToSQLMacro($session);
addAssetManager( $session );
finish($session); # this line required
@ -1363,6 +1364,13 @@ EOSQL3
print "\tDone.\n";
}
#----------------------------------------------------------------------------
sub addDBLinkAccessToSQLMacro {
my $session = shift;
print "\tAdding DBLink access to SQL Macro ..." unless ($quiet);
$session->db->write("insert into databaseLink (databaseLinkId, allowMacroAccess) values ('0','1')");
print "Done.\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------