Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / lib / Drush / Sql / Sql7.php
diff --git a/vendor/drush/drush/lib/Drush/Sql/Sql7.php b/vendor/drush/drush/lib/Drush/Sql/Sql7.php
deleted file mode 100644 (file)
index d1994e1..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-namespace Drush\Sql;
-
-class Sql7 extends SqlVersion {
-  public function get_db_spec() {
-    $db_spec = NULL;
-    drush_sql_bootstrap_database_configuration();
-    $database = drush_get_option('database', 'default');
-    $target = drush_get_option('target', 'default');
-    // We don't use DB API here `sql-sync` would have to messily addConnection.
-    if (!isset($GLOBALS['databases']) || !array_key_exists($database, $GLOBALS['databases']) || !array_key_exists($target, $GLOBALS['databases'][$database])) {
-      // Do nothing
-    }
-    else {
-      $db_spec = $GLOBALS['databases'][$database][$target];;
-    }
-    return $db_spec;
-  }
-
-  public function getAll() {
-    if (isset($GLOBALS['databases'])) {
-      return $GLOBALS['databases'];
-    }
-  }
-}