Commit a98b25c6 authored by trustypelletgun's avatar trustypelletgun Committed by DamienMcKenna

Issue #3047798 by trustypelletgun, cosmicdreams: Corrected typo in MySQLi extension error message.

parent 45f51d82
......@@ -16,6 +16,8 @@ Backup and Migrate 8.x-4.x-dev, xxxx-xx-xx
#3013182 by RoshniPatel.addweb: 'label' key defined twice for
backup_migrate.profile.* config_entity schema in backup_migrate.schema.yml.
#3047223 by DamienMcKenna: Temporarily remove NodeSquirrel integration.
#3047798 by trustypelletgun, cosmicdreams: Corrected typo in MySQLi extension
error message.
Backup and Migrate 8.x-4.0, 2018-03-29
......
......@@ -119,7 +119,7 @@ class MySQLiSource extends DatabaseSource implements PluginCallerInterface {
protected function _getConnection() {
if (!$this->connection) {
if (!function_exists('mysqli_init') && !extension_loaded('mysqli')) {
throw new BackupMigrateException('Cannot connect to the database becuase the MySQLi extension is missing.');
throw new BackupMigrateException('Cannot connect to the database because the MySQLi extension is missing.');
}
$this->connection = new \mysqli(
$this->confGet('host'),
......
Markdown is supported
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