Esempio n. 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);
 }
Esempio n. 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);
 }