]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
removed function replaced by installer
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 10 Oct 2010 11:57:58 +0000 (11:57 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 10 Oct 2010 11:57:58 +0000 (11:57 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7043 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/database.php

index 04225fdc38f1a6603dd85cd98ab9b32d00264d1b..34ff3b305e8b77912a406a232217869cd36efbbe 100644 (file)
@@ -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.
  *