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:
e0c7538
)
CRM-19690 - CRM_Mailing_Tokens - Remove unused `getTrackOpenUrl`
author
Tim Otten
<totten@civicrm.org>
Thu, 22 Dec 2016 18:24:54 +0000
(11:24 -0700)
committer
Tim Otten
<totten@civicrm.org>
Thu, 22 Dec 2016 18:25:12 +0000
(11:25 -0700)
During development of FlexMailer, I flirted with using a special token (e.g.
`{actions.trackOpen}`) but ultimately found that was positioned well in
the order of operations.
CRM/Mailing/ActionTokens.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/ActionTokens.php
b/CRM/Mailing/ActionTokens.php
index bf3277be375416beb748d9e4efa62ad05962bf5c..15878ae7b89ef022a1214d82c33b58509f94f041 100644
(file)
--- a/
CRM/Mailing/ActionTokens.php
+++ b/
CRM/Mailing/ActionTokens.php
@@
-113,9
+113,4
@@
class CRM_Mailing_ActionTokens extends \Civi\Token\AbstractTokenSubscriber {
$field, $verp, $urls, TRUE));
}
- protected function getTrackOpenUrl(\Civi\Token\TokenRow $row) {
- $config = CRM_Core_Config::singleton();
- return $config->userFrameworkResourceURL . "extern/open.php?q=" . $row->context['mailingActionTarget']['id'];
- }
-
}