Remove long-broken function
authorwikimediaWfan <96108825+wikimediaWfan@users.noreply.github.com>
Mon, 3 Oct 2022 18:54:03 +0000 (11:54 -0700)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 5 Sep 2023 22:17:46 +0000 (10:17 +1200)
CRM/Utils/Mail/EmailProcessor.php

index ba8d7309bd4f8526be05ee6100db1b37525ffaf4..1fafa0b98c78ddf6afa6bbe2b5abe58ce92017af 100644 (file)
@@ -66,21 +66,6 @@ class CRM_Utils_Mail_EmailProcessor {
     return $found;
   }
 
-  /**
-   * Process the mailbox for all the settings from civicrm_mail_settings.
-   *
-   * @param bool|string $civiMail if true, processing is done in CiviMail context, or Activities otherwise.
-   */
-  public static function process($civiMail = TRUE) {
-    $dao = new CRM_Core_DAO_MailSettings();
-    $dao->domain_id = CRM_Core_Config::domainID();
-    $dao->find();
-
-    while ($dao->fetch()) {
-      self::_process($civiMail, $dao);
-    }
-  }
-
   /**
    * @param $civiMail
    * @param CRM_Core_DAO_MailSettings $dao