public function doUpdate() { shareApp::updateAvatar(); $res = new ezcMvcResult(); $res->status = new ezcMvcExternalRedirect('/prefs'); return $res; }