config->getValueString('text', 'installed_version'); if (!$appVersion || version_compare($appVersion, '6.0.1') !== -1) { return; } $this->documentService->clearAll(); } }