Bladeren bron

updated D7SimplenewsSubscribers.php

Bachir Soussi Chiadmi 5 jaren geleden
bovenliggende
commit
59b07a5ca4

+ 1 - 11
web/modules/custom/materio_migrate/src/Plugin/migrate/source/D7SimplenewsSubscribers.php

@@ -22,7 +22,7 @@ class D7SimplenewsSubscribers extends DrupalSqlBase {
     return [
       'snid' => $this->t('Subscriber ID'),
       'activated' => $this->t('Activated'),
-      'mail' => $this->t('Subscriber\'s e-mail address'),
+      'mail' => $this->t("Subscriber's e-mail address"),
       'uid' => $this->t('Corresponding user'),
       'language' => $this->t('Language'),
       'changes' => $this->t('Pending unconfirmed subscription changes'),
@@ -69,14 +69,4 @@ class D7SimplenewsSubscribers extends DrupalSqlBase {
     return $result;
   }
 
-  /**
-   * {@inheritdoc}
-   */
-  public function calculateDependencies() {
-    $this->dependencies = parent::calculateDependencies();
-    // Declare dependency to the provider of the base class.
-    $this->addDependency('module', 'migrate_drupal');
-    return $this->dependencies;
-  }
-
 }