/** * Publish user's score / add user's score to the ranking list. */ public function publish_action() { $user = User::findCurrent(); $user->score = Score::getMyScore($user); $user->store(); PageLayout::postMessage(MessageBox::success(_('Ihr Wert wurde auf der Rangliste veröffentlicht.'))); $this->redirect('score'); }