X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FPseudoConstant.php;h=d38864c95b873288b0152ac432d79582aa4663c8;hb=5552f12522cb2481ce8f8ccf028148084367237f;hp=120f507416fd4443ac694a45bf95f6f18af2f52d;hpb=d5a0bb241c55747b7bd8e16ede5addad323453e1;p=civicrm-core.git diff --git a/CRM/Mailing/PseudoConstant.php b/CRM/Mailing/PseudoConstant.php index 120f507416..d38864c95b 100644 --- a/CRM/Mailing/PseudoConstant.php +++ b/CRM/Mailing/PseudoConstant.php @@ -42,21 +42,18 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { /** * Mailing templates * @var array - * @static */ private static $template; /** * Completed mailings * @var array - * @static */ private static $completed; /** * Mailing components * @var array - * @static */ private static $component; @@ -73,7 +70,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { * * @return array * array reference of all mailing components - * @static */ public static function &component($type = NULL) { $name = $type ? $type : 'ALL'; @@ -115,7 +111,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { * * @return int * The ID of the default mailing component. - * @static */ public static function &defaultComponent($type, $undefined = NULL) { if (!self::$defaultComponent) { @@ -142,7 +137,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { * * @return array * array reference of all mailing templates if any - * @static */ public static function &template() { if (!self::$template) { @@ -159,7 +153,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { * * @return array * array reference of all mailing templates if any - * @static */ public static function &completed($mode = NULL) { if (!self::$completed) { @@ -217,7 +210,6 @@ class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant { * Flush given pseudoconstant so it can be reread from db * next time it's requested. * - * @static * * @param bool|string $name pseudoconstant to be flushed */