Lines 3-10
if( CheckVersion( $DBversion ) ) {
Link Here
|
3 |
# you can use $dbh here like: |
3 |
# you can use $dbh here like: |
4 |
$dbh->do( q{ |
4 |
$dbh->do( q{ |
5 |
INSERT IGNORE INTO systempreferences (variable,value,explanation,type) VALUES |
5 |
INSERT IGNORE INTO systempreferences (variable,value,explanation,type) VALUES |
6 |
('MaxTotalSuggestions','3','Number of total suggestions','free'), |
6 |
('MaxTotalSuggestions','','Number of total suggestions','Free'), |
7 |
('NumberOfSuggestionDays','30','days','free') |
7 |
('NumberOfSuggestionDays','','days','Free') |
8 |
}); |
8 |
}); |
9 |
|
9 |
|
10 |
# or perform some test and warn |
10 |
# or perform some test and warn |