Remove more obsolete import code
[civicrm-core.git] / CRM / SMS / Provider.php
index 896302ea13eec13b4a9b2f8186e1d75521316fff..9cb40538cdca5efada7b9f8c178919f3ce4ff097 100644 (file)
@@ -83,38 +83,6 @@ abstract class CRM_SMS_Provider {
    */
   abstract public function send($recipients, $header, $message, $dncID = NULL);
 
-  /**
-   * Return message text.
-   *
-   * Child class could override this function to have better control over the message being sent.
-   *
-   * @param string $message
-   * @param int $contactID
-   * @param array $contactDetails
-   *
-   * @return string
-   */
-  public function getMessage($message, $contactID, $contactDetails) {
-    $html = $message->getHTMLBody();
-    $text = $message->getTXTBody();
-
-    return $html ? $html : $text;
-  }
-
-  /**
-   * Get recipient details.
-   *
-   * @param array $fields
-   * @param array $additionalDetails
-   *
-   * @return mixed
-   */
-  public function getRecipientDetails($fields, $additionalDetails) {
-    // we could do more altering here
-    $fields['To'] = $fields['phone'];
-    return $fields;
-  }
-
   /**
    * @param int $apiMsgID
    * @param $message