/** * * * @return bool */ public function customFinalization() { $this->setRoleDefaults(); PermissionModel::resetAllRoles(); // Remove invalid relation between non existing users/roles RoleModel::cleanUserRoles(); $Imp = $this->getCustomImportModel(); if ($Imp !== null) { $Imp->afterImport(); } return true; }