Fixed pandora diag in oracle version. Ticket#2906

This commit is contained in:
Arturo Gonzalez Diaz 2015-10-19 19:44:26 +02:00
parent ea4cb8a815
commit 03ba93c9ca
1 changed files with 9 additions and 9 deletions

View File

@ -173,19 +173,19 @@ switch ($config["dbtype"]) {
WHERE \"key\" = 'current_update'", "Current Update #");
break;
case "oracle":
render_info_data ("SELECT " . db_escape_key_identifier('value') .
" FROM tconfig
render_info_data ("SELECT value
FROM tconfig
WHERE token = 'db_scheme_version'", "DB Schema Version");
render_info_data ("SELECT " . db_escape_key_identifier('value') .
" FROM tconfig
render_info_data ("SELECT value
FROM tconfig
WHERE token = 'db_scheme_build'", "DB Schema Build");
render_info_data ("SELECT " . db_escape_key_identifier('value') .
" FROM tconfig
render_info_data ("SELECT value
FROM tconfig
WHERE token = 'enterprise_installed'", "Enterprise installed");
render_row (db_get_sql ("SELECT " . db_escape_key_identifier('value') .
" FROM tconfig
render_row (db_get_sql ("SELECT value
FROM tconfig
WHERE token = 'db_maintance'"), "PandoraDB Last run");
render_info_data ("SELECT " . db_escape_key_identifier('value') .
" FROM tupdate_settings
WHERE \"key\" = 'customer_key'", "Update Key");