X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FTask.php;h=4caa253392ff2f58a4bd808218e54907e2deda21;hb=c8881afb8c9973a27e206296e8eceddae8f33855;hp=4a7ac57eeadb9d120344793e8df595132ddb794f;hpb=7d86179d7d8e91160bbb5e6643fa265198a99a2d;p=civicrm-core.git diff --git a/CRM/Contact/Task.php b/CRM/Contact/Task.php index 4a7ac57eea..4caa253392 100644 --- a/CRM/Contact/Task.php +++ b/CRM/Contact/Task.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 | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -70,7 +70,6 @@ class CRM_Contact_Task { * The task array * * @var array - * @static */ static $_tasks = NULL; @@ -78,7 +77,6 @@ class CRM_Contact_Task { * The optional task array * * @var array - * @static */ static $_optionalTasks = NULL; @@ -281,7 +279,6 @@ class CRM_Contact_Task { * * @return array * the set of tasks for a group of contacts - * @static */ public static function &taskTitles() { self::initTasks(); @@ -361,7 +358,6 @@ class CRM_Contact_Task { * * @return array * the set of optional tasks for a group of contacts - * @static */ public static function &optionalTaskTitle() { $tasks = array( @@ -387,4 +383,5 @@ class CRM_Contact_Task { CRM_Utils_Array::value('result', self::$_tasks[$value]), ); } + }