From 60973c259b643f92f96fadf2effc1f37dd930898 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 10 Oct 2010 11:57:58 +0000 Subject: removed function replaced by installer git-svn-id: http://code.elgg.org/elgg/trunk@7043 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/database.php | 18 ------------------ 1 file changed, 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 @@ -681,24 +681,6 @@ function db_upgrade($version, $fromdir = "", $quiet = FALSE) { return TRUE; } -/** - * 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. * -- cgit v1.2.3