diff options
-rw-r--r-- | core/views/admin_block_platform.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/admin_block_platform.html.php b/core/views/admin_block_platform.html.php index 09fc0515..272e20c1 100644 --- a/core/views/admin_block_platform.html.php +++ b/core/views/admin_block_platform.html.php @@ -10,6 +10,6 @@ <?= t("PHP: %php_version", array("php_version" => phpversion())) ?> </li> <li> - <?= t("MySQL: %mysql_version", array("mysql_version" => mysql_get_server_info())) ?> + <?= t("MySQL: %mysql_version", array("mysql_version" => Database::instance()->query("SELECT version() as V")->current()->V)) ?> </li> </ul> |