Commit 71504afc authored by Dan Poltawski's avatar Dan Poltawski
Browse files

Merge branch 'w16_MDL-32392_m23_minversion' of git://github.com/skodak/moodle

parents 5599620f 54c5b1ad
......@@ -287,19 +287,6 @@ class mssql_native_moodle_database extends moodle_database {
return $info;
}
/**
* Returns if the RDBMS server fulfills the required version
*
* @param string $version version to check against
* @return bool returns if the version is fulfilled (true) or no (false)
* @todo Delete this unused and protected method. MDL-32392
*/
protected function is_min_version($version) {
$server = $this->get_server_info();
$server = $server['version'];
return version_compare($server, $version, '>=');
}
/**
* Converts short table name {tablename} to real table name
* supporting temp tables (#) if detected
......
......@@ -296,19 +296,6 @@ class oci_native_moodle_database extends moodle_database {
return $info;
}
/**
* Returns if the RDBMS server fulfills the required version
*
* @param string $version version to check against
* @return bool returns if the version is fulfilled (true) or no (false)
* @todo Delete this unused and protected method. MDL-32392
*/
protected function is_min_version($version) {
$server = $this->get_server_info();
$server = $server['version'];
return version_compare($server, $version, '>=');
}
/**
* Converts short table name {tablename} to real table name
* supporting temp tables ($this->unique_session_id based) if detected
......
......@@ -262,9 +262,8 @@ class pgsql_native_moodle_database extends moodle_database {
*
* @param string $version version to check against
* @return bool returns if the version is fulfilled (true) or no (false)
* @todo Make this method private. MDL-32392
*/
protected function is_min_version($version) {
private function is_min_version($version) {
$server = $this->get_server_info();
$server = $server['version'];
return version_compare($server, $version, '>=');
......
......@@ -276,19 +276,6 @@ class sqlsrv_native_moodle_database extends moodle_database {
return $info;
}
/**
* Returns if the RDBMS server fulfills the required version
*
* @param string $version version to check against
* @return bool returns if the version is fulfilled (true) or no (false)
* @todo Delete this unused and protected method. MDL-32392
*/
protected function is_min_version($version) {
$server = $this->get_server_info();
$server = $server['version'];
return version_compare($server, $version, '>=');
}
/**
* Override: Converts short table name {tablename} to real table name
* supporting temp tables (#) if detected
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment