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:
4d4daa2
)
--CRM-18204, remove Create mode, Edit mode, listing mode and HMTL form snippet links...
author
Pradeep Nayak
<pradpnayak@gmail.com>
Thu, 10 Mar 2016 13:49:53 +0000
(19:19 +0530)
committer
Pradeep Nayak
<pradpnayak@gmail.com>
Fri, 11 Mar 2016 08:11:03 +0000
(13:41 +0530)
CRM/UF/Page/Group.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/UF/Page/Group.php
b/CRM/UF/Page/Group.php
index 932580fb499bc7056d567fbdfd99b08f3d2aeba8..43b06697bfbe7fd6e11812c5c8bd1d2750644c82 100644
(file)
--- a/
CRM/UF/Page/Group.php
+++ b/
CRM/UF/Page/Group.php
@@
-357,6
+357,9
@@
class CRM_UF_Page_Group extends CRM_Core_Page {
$componentFound = array_diff(array_keys($groupTypes), $contactTypes);
if (!empty($componentFound)) {
$action -= CRM_Core_Action::ADD;
+ $action -= CRM_Core_Action::ADVANCED;
+ $action -= CRM_Core_Action::BASIC;
+ $action -= CRM_Core_Action::PROFILE;
}
$ufGroup[$id]['group_type'] = self::formatGroupTypes($groupTypes);