View | Details | Raw Unified | Return to bug 8000
Collapse All | Expand All

(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 8015-8021 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
8015
$DBversion = "3.15.00.XXX";
8015
$DBversion = "3.15.00.XXX";
8016
if ( CheckVersion($DBversion) ) {
8016
if ( CheckVersion($DBversion) ) {
8017
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('SendAllEmailsTo','',NULL,'This email will replace the To address in every message sent by the system.  This is meant to help testing and validation only.','Textarea')");
8017
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('SendAllEmailsTo','',NULL,'This email will replace the To address in every message sent by the system.  This is meant to help testing and validation only.','Textarea')");
8018
    $dbh->do( qw{ ALTER TABLE message_queue ADD sentto_address mediumtext AFTER to_address } );
8018
    $dbh->do( q{ ALTER TABLE message_queue ADD sentto_address mediumtext AFTER to_address } );
8019
    print "Upgrade to $DBversion done (Bug 8000 - add method to override the destination of every email sent by the system.)\n";
8019
    print "Upgrade to $DBversion done (Bug 8000 - add method to override the destination of every email sent by the system.)\n";
8020
    SetVersion ($DBversion);
8020
    SetVersion ($DBversion);
8021
}
8021
}
8022
- 

Return to bug 8000