Example #1
0
 /**
  * {@inheritdoc}
  */
 public function post(ParameterBag $params)
 {
     $params->owner_guid = $params->guid;
     unset($params->guid);
     // user guid
     $ctrl = new Group($this->request, $this->graph);
     return $ctrl->put($params);
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function post(ParameterBag $params)
 {
     $params->owner_guid = elgg_get_logged_in_user_guid();
     unset($params->guid);
     // site guid
     $ctrl = new Group($this->request, $this->graph);
     return $ctrl->put($params);
 }