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:
bc4e121
)
CRM-16082 move responsibility for ensuring a domain group exists out of core
author
Eileen
<eileen@fuzion.co.nz>
Tue, 10 Mar 2015 05:23:46 +0000
(
01:23
-0400)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Tue, 10 Mar 2015 05:28:06 +0000
(18:28 +1300)
CRM/Core/BAO/Domain.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/Domain.php
b/CRM/Core/BAO/Domain.php
index 9cdb9a0ba02727fb64af59e50dffd8e401022955..d85c6c734f8a30359946092e17ed0e9fd407a7ba 100644
(file)
--- a/
CRM/Core/BAO/Domain.php
+++ b/
CRM/Core/BAO/Domain.php
@@
-271,15
+271,6
@@
class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain {
$groupID = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Group',
$title, 'id', 'title', TRUE
);
- if (empty($groupID) && !empty($title)) {
- $groupParams = array(
- 'title' => $title,
- 'is_active' => 1,
- 'no_parent' => 1,
- );
- $group = CRM_Contact_BAO_Group::create($groupParams);
- $groupID = $group->id;
- }
}
return $groupID ? $groupID : FALSE;
}