protected Tasks::checkEngineVersion()
Check the engine version.
File
- core/lib/Drupal/Core/Database/Install/Tasks.php, line 188
Class
- Tasks
- Database installer structure.
Namespace
Drupal\Core\Database\Install
Code
1 2 3 4 5 6 | protected function checkEngineVersion() { // Ensure that the database server has the right version. if ( $this ->minimumVersion() && version_compare(Database::getConnection()->version(), $this ->minimumVersion(), '<' )) { $this ->fail(t( "The database server version %version is less than the minimum required version %minimum_version." , array ( '%version' => Database::getConnection()->version(), '%minimum_version' => $this ->minimumVersion()))); } } |
Please login to continue.