Use defined messages.

This commit is contained in:
Michal Čihař
2005-10-08 14:55:08 +00:00
parent 09ad74caa6
commit 205a4da9f7
2 changed files with 3 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ $Source$
* libraries/import.lib.php: Fix execution of single large queries. * libraries/import.lib.php: Fix execution of single large queries.
* import.php, lang/*: Try to detect that upload failed because of limits * import.php, lang/*: Try to detect that upload failed because of limits
(RFE #1240480). (RFE #1240480).
* libraries/storage_engines.lib.php: Use defined messages.
2005-10-07 Marc Delisle <lem9@users.sourceforge.net> 2005-10-07 Marc Delisle <lem9@users.sourceforge.net>
* libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a * libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a

View File

@@ -195,11 +195,11 @@ class PMA_StorageEngine {
$message = $GLOBALS['strEngineAvailable']; $message = $GLOBALS['strEngineAvailable'];
break; break;
case PMA_ENGINE_SUPPORT_DISABLED: case PMA_ENGINE_SUPPORT_DISABLED:
$message = $GLOBALS['strEngineUnsupported']; $message = $GLOBALS['strEngineDisabled'];
break; break;
case PMA_ENGINE_SUPPORT_NO: case PMA_ENGINE_SUPPORT_NO:
default: default:
$message = $GLOBALS['strEngineUnavailable']; $message = $GLOBALS['strEngineUnsupported'];
} }
return sprintf($message, htmlspecialchars($this->title)); return sprintf($message, htmlspecialchars($this->title));
} }