resetting database name only if checkAllMandatroyDocuments was executed
execute checkAllClassCollections only on wiki created event if it is
disabled in virtual init to prevent double execution.