Security update for Core, with self-updated composer
[yaffs-website] / vendor / drush / drush / lib / Drush / Sql / SqlBase.php
index 434c8ba7859c7ccad78108364229f222853e0dc0..0d8871ce64b87c68c853f3796c3559c944a3e919 100644 (file)
@@ -2,6 +2,7 @@
 
 namespace Drush\Sql;
 
+use Drupal\Core\Database\Database;
 use Drush\Log\LogLevel;
 use Webmozart\PathUtil\Path;
 
@@ -201,7 +202,7 @@ class SqlBase {
       // Enable prefix processing which can be dangerous so off by default. See http://drupal.org/node/1219850.
       if (drush_get_option('db-prefix')) {
         if (drush_drupal_major_version() >= 7) {
-          $query = \Database::getConnection()->prefixTables($query);
+          $query = Database::getConnection()->prefixTables($query);
         }
         else {
           $query = db_prefix_tables($query);