/** * Additional to the parent method the user profile fields and all * user rights and role memberships will be initialized * @return void */ public function clear() { parent::clear(); // die Daten der Profilfelder werden geloescht, die Struktur bleibt $this->mProfileFieldsData->clearUserData(); $this->webmaster = 0; // initialize rights arrays $this->usersEditAllowed = array(); $this->renewRoleData(); $this->saveChangesWithoutRights = false; }