projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
453c7bb
)
CRM-19690 - CRM_Utils_Token::getAnonymousTokenDetails() - Add missing `static`
author
Tim Otten
<totten@civicrm.org>
Tue, 29 Nov 2016 23:47:00 +0000
(15:47 -0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 20 Dec 2016 01:21:08 +0000
(17:21 -0800)
This function is only called once, and it previously lacked test coverage,
so the `static` warning previously snuck through. Fix it!
CRM/Utils/Token.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Token.php
b/CRM/Utils/Token.php
index a23e9f3313d18f60059d68f0411613b5c1d0c819..26209d40e1ea92bfe97b26f3dd0825f262af0182 100644
(file)
--- a/
CRM/Utils/Token.php
+++ b/
CRM/Utils/Token.php
@@
-1314,7
+1314,7
@@
class CRM_Utils_Token {
* @return array
* contactDetails with hooks swapped out
*/
- public function getAnonymousTokenDetails($contactIDs = array(
+ public
static
function getAnonymousTokenDetails($contactIDs = array(
0,
),
$returnProperties = NULL,