/** * Stores the privacy settings concerning the homepage / profile of a * user. */ public function homepage_action() { $this->check_ticket(); // If no bulk action is performed set all visibilitysettings seperately if (!$this->bulk()) { $data = Request::getArray('visibility_update'); if (Visibility::updateUserFromRequest($data)) { $this->reportSuccess(_('Ihre Sichtbarkeitseinstellungen wurden gespeichert.')); } else { $this->reportError(_('Ihre Sichtbarkeitseinstellungen wurden nicht gespeichert!')); } } $this->redirect('settings/privacy'); }