17 lines
620 B
Perl
Executable file
17 lines
620 B
Perl
Executable file
use Modern::Perl;
|
|
|
|
return {
|
|
bug_number => "35639",
|
|
description => "Add the SMSSendMaxChar system preference to limit the number of characters in a SMS message",
|
|
up => sub {
|
|
my ($args) = @_;
|
|
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
|
|
|
$dbh->do(
|
|
q{
|
|
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
|
|
VALUES ('SMSSendMaxChar','','NULL','Add a limit for the number of characters in SMS messages','Integer');
|
|
}
|
|
) == 1 and say_success( $out, "Added new system preference 'SMSSendMaxChar'" );
|
|
},
|
|
};
|