aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-10 11:57:58 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-10 11:57:58 +0000
commit60973c259b643f92f96fadf2effc1f37dd930898 (patch)
tree7b0188bc33ec64ac8c2052747fb2db3fd48466b8 /engine/lib
parenta8daa6073f3ff14ff1f7dc7618ea41fd13aef393 (diff)
downloadelgg-60973c259b643f92f96fadf2effc1f37dd930898.tar.gz
elgg-60973c259b643f92f96fadf2effc1f37dd930898.tar.bz2
removed function replaced by installer
git-svn-id: http://code.elgg.org/elgg/trunk@7043 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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