aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/database.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php
index 04225fdc3..34ff3b305 100644
--- a/engine/lib/database.php
+++ b/engine/lib/database.php
@@ -682,24 +682,6 @@ function db_upgrade($version, $fromdir = "", $quiet = FALSE) {
}
/**
- * Check if MySQL is at least version 5.
- *
- * @todo If multiple dbs are supported check which db is supported and use the appropriate code to validate
- * the appropriate version.
- * @return bool
- */
-function db_check_version() {
- $version = mysql_get_server_info();
- $points = explode('.', $version);
-
- if ($points[0] < 5) {
- return FALSE;
- }
-
- return TRUE;
-}
-
-/**
* Sanitise a string for database use, but with the option of escaping extra characters.
*
* @param string $string The string to sanitise