Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / lib / Drush / Sql / SqlVersion.php
diff --git a/vendor/drush/drush/lib/Drush/Sql/SqlVersion.php b/vendor/drush/drush/lib/Drush/Sql/SqlVersion.php
deleted file mode 100644 (file)
index 4d0a609..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-namespace Drush\Sql;
-
-use Drush\Log\LogLevel;
-
-class SqlVersion {
-  /*
-   * Determine $db_spec by inspecting the global environment (D6/7) or the DB API (D8+).
-   *
-   * @return array $db_spec
-   *   An array specifying a database connection.
-   */
-  public function get_db_spec() {}
-
-  /*
-   * Return all configured DB connections by inspecting the global environment (D6/7) or the DB API (D8+).
-   *
-   * @return array $all
-   *   An array specifying one or more database connections.
-   */
-  public function getAll() {}
-
-  /*
-   * Validate that Drupal can connect to the DB without actually using Drupal to do so. Called
-   * by drush_valid_db_credentials().
-   */
-  public function valid_credentials($db_spec) {
-    // Drupal >=7 requires PDO and Drush requires php 5.4+ which ships with PDO
-    // but it may be compiled with --disable-pdo.
-    if (!class_exists('\PDO')) {
-      drush_log(dt('PDO support is required.'), LogLevel::BOOTSTRAP);
-      return FALSE;
-    }
-    return TRUE;
-  }
-}