diff --git a/app/Model/GalaxyCluster.php b/app/Model/GalaxyCluster.php index 76cf6eeb4..1f0954b51 100644 --- a/app/Model/GalaxyCluster.php +++ b/app/Model/GalaxyCluster.php @@ -818,7 +818,7 @@ class GalaxyCluster extends AppModel { $this->Event = ClassRegistry::init('Event'); if (isset($element[$model]['distribution']) && $element[$model]['distribution'] == 4) { - $element[$model] = $this->Event->__captureSGForElement($element[$model], $user); + $element[$model] = $this->Event->captureSGForElement($element[$model], $user); } // first we want to see how the creator organisation is encoded // The options here are either by passing an organisation object along or simply passing a string along diff --git a/app/Model/GalaxyClusterRelation.php b/app/Model/GalaxyClusterRelation.php index 3055ed2aa..246fad5cd 100644 --- a/app/Model/GalaxyClusterRelation.php +++ b/app/Model/GalaxyClusterRelation.php @@ -475,7 +475,7 @@ class GalaxyClusterRelation extends AppModel $this->Event = ClassRegistry::init('Event'); if (isset($relation['GalaxyClusterRelation']['distribution']) && $relation['GalaxyClusterRelation']['distribution'] == 4) { - $relation['GalaxyClusterRelation'] = $this->Event->__captureSGForElement($relation['GalaxyClusterRelation'], $user); + $relation['GalaxyClusterRelation'] = $this->Event->captureSGForElement($relation['GalaxyClusterRelation'], $user); } $saveSuccess = $this->save($relation);