| version 1.9, 2012/09/28 18:49:48 |
version 1.10, 2012/10/02 08:25:14 |
| Line 1148 function ezin_admin_maintenance_main($re |
|
| Line 1148 function ezin_admin_maintenance_main($re |
|
| "Other types of links redirect to a selected type" |
"Other types of links redirect to a selected type" |
| WHERE a_key = "link_redirect"' |
WHERE a_key = "link_redirect"' |
| ); |
); |
| |
|
| |
// Type of antispam |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Type of antispam - a_key', |
| |
'test' => 'select a_key from ezin_config_info where a_key = "antispam_type"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'antispam_type', |
| |
'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("antispam_type");' |
| |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'repair', |
| |
'description' => 'Type of antispam - ezin_config_info', |
| |
'repair' => 'UPDATE ezin_config_info SET |
| |
ord = 244, |
| |
name = "Type of antispam", |
| |
description = |
| |
"Selected type of antispam." |
| |
WHERE a_key = "antispam_type"' |
| |
); |
| |
|
| // ---- CONFIG - DATA ---- |
// ---- CONFIG - DATA ---- |
| $tests[] = array( |
$tests[] = array( |
| Line 1295 function ezin_admin_maintenance_main($re |
|
| Line 1316 function ezin_admin_maintenance_main($re |
|
| 'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("link_redirect", "0")' |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("link_redirect", "0")' |
| ); |
); |
| |
|
| |
// Type of antispam |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Type of antispam - default value', |
| |
'test' => 'select a_key from ezin_config where a_key = "antispam_type"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'antispam_type', |
| |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("antispam_type", "default")' |
| |
); |
| |
|
| // ====[ Koniec definovania jednotlivych update ]=============================== |
// ====[ Koniec definovania jednotlivych update ]=============================== |
| |
|