Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Development
Core
Commits
01735765
Unverified
Commit
01735765
authored
Jan 16, 2019
by
eileen
🎱
Committed by
GitHub
Jan 16, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13458 from mattwire/unused_var_caseformcustomdata
REF Remove duplicate call to session singleton
parents
f4d260a2
1aca7098
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
CRM/Case/Form/CustomData.php
CRM/Case/Form/CustomData.php
+0
-1
No files found.
CRM/Case/Form/CustomData.php
View file @
01735765
...
...
@@ -129,7 +129,6 @@ class CRM_Case_Form_CustomData extends CRM_Core_Form {
$session
=
CRM_Core_Session
::
singleton
();
$session
->
pushUserContext
(
CRM_Utils_System
::
url
(
'civicrm/contact/view/case'
,
"reset=1&id=
{
$this
->
_entityID
}
&cid=
{
$this
->
_contactID
}
&action=view"
));
$session
=
CRM_Core_Session
::
singleton
();
$activityTypeID
=
CRM_Core_PseudoConstant
::
getKey
(
'CRM_Activity_BAO_Activity'
,
'activity_type_id'
,
'Change Custom Data'
);
$activityParams
=
array
(
'activity_type_id'
=>
$activityTypeID
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment