Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / migrate_plus / src / Plugin / migrate_plus / data_fetcher / File.php
index 459c454bcf449213c4b2f736f76f2e2bc630d08f..dfa02d3bc3d885e8e043c060f3190d5b602fb9fa 100644 (file)
@@ -34,10 +34,10 @@ class File extends DataFetcherPluginBase {
    * {@inheritdoc}
    */
   public function getResponse($url) {
-      $response = file_get_contents($url);
-      if ($response === FALSE) {
-        throw new MigrateException('file parser plugin: could not retrieve data from ' . $url);
-      }
+    $response = file_get_contents($url);
+    if ($response === FALSE) {
+      throw new MigrateException('file parser plugin: could not retrieve data from ' . $url);
+    }
     return $response;
   }