MDL-32392 cleanup: adding @todo about unused is_min_version() method

This commit is contained in:
Eloy Lafuente (stronk7)
2012-04-10 21:26:00 +02:00
parent 7475638c2a
commit 7b74fb7071
4 changed files with 25 additions and 3 deletions
+7
View File
@@ -251,6 +251,13 @@ class pgsql_native_moodle_database extends moodle_database {
return array('description'=>$info['server'], 'version'=>$info['server']);
}
/**
* 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 Make this method private. MDL-32392
*/
protected function is_min_version($version) {
$server = $this->get_server_info();
$server = $server['version'];