X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FVerp.php;h=afe1a6849cd87a0df44303d355689449ce6eec0b;hb=8671b4f2efb228dc654123b391fd794b23b99d49;hp=e6ff1ca25331ed712327ae190a010dcfb2253bf0;hpb=7d86179d7d8e91160bbb5e6643fa265198a99a2d;p=civicrm-core.git diff --git a/CRM/Utils/Verp.php b/CRM/Utils/Verp.php index e6ff1ca253..afe1a6849c 100644 --- a/CRM/Utils/Verp.php +++ b/CRM/Utils/Verp.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * Class to handle encoding and decoding Variable Enveleope Return Path (VERP) @@ -71,7 +71,6 @@ class CRM_Utils_Verp { * * @return string * The VERP encoded address - * @static */ public static function encode($sender, $recipient) { preg_match('/(.+)\@([^\@]+)$/', $sender, $match); @@ -98,7 +97,6 @@ class CRM_Utils_Verp { * * @return array * The tuple ($sender, $recipient) - * @static */ public static function &verpdecode($address) { preg_match('/^(.+)-([^=]+)=([^\@]+)\@(.+)/', $address, $match); @@ -115,4 +113,5 @@ class CRM_Utils_Verp { return array("$slocal@$sdomain", "$rlocal@$rdomain"); } + }