| version 1.6, 2012/05/14 14:53:42 |
version 1.7, 2012/05/15 17:47:55 |
| Line 45 function ezin_admin_maintenance_main($re |
|
| Line 45 function ezin_admin_maintenance_main($re |
|
| * 1.4 2011-06-17 16:48 - doplnene testy pre Sources |
* 1.4 2011-06-17 16:48 - doplnene testy pre Sources |
| * 1.5 2012-05-02 14:28 - prepisanie verzii updatov |
* 1.5 2012-05-02 14:28 - prepisanie verzii updatov |
| * 1.6 2012-05-14 15:38 - doplnene pre Boxes |
* 1.6 2012-05-14 15:38 - doplnene pre Boxes |
| |
* 1.7 2012-05-15 12:47 - link redirect |
| * |
* |
| */ |
*/ |
| |
|
| Line 1113 function ezin_admin_maintenance_main($re |
|
| Line 1114 function ezin_admin_maintenance_main($re |
|
| WHERE a_key = "soap_server_enabled"' |
WHERE a_key = "soap_server_enabled"' |
| ); |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Link redirect', |
| |
'test' => 'select a_key from ezin_config_info where a_key = "link_redirect"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'link_redirect', |
| |
'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("link_redirect")' |
| |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'repair', |
| |
'description' => 'Link redirect - ezin_config_info', |
| |
'repair' => 'UPDATE ezin_config_info SET |
| |
ord = 515, |
| |
name = "Link redirect", |
| |
description = |
| |
"Other types of links redirect to a selected type" |
| |
WHERE a_key = "link_redirect"' |
| |
); |
| |
|
| // ---- CONFIG - DATA ---- |
// ---- CONFIG - DATA ---- |
| $tests[] = array( |
$tests[] = array( |
| 'type' => 'comment', |
'type' => 'comment', |
| Line 1249 function ezin_admin_maintenance_main($re |
|
| Line 1270 function ezin_admin_maintenance_main($re |
|
| 'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("soap_server_enabled", "0")' |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("soap_server_enabled", "0")' |
| ); |
); |
| |
|
| |
// Link redirect |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Link redirect - default value', |
| |
'test' => 'select a_key from ezin_config where a_key = "link_redirect"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'link_redirect', |
| |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("link_redirect", "0")' |
| |
); |
| |
|
| |
|
| // ====[ Koniec definovania jednotlivych update ]=============================== |
// ====[ Koniec definovania jednotlivych update ]=============================== |
| |
|