getServiceManager(); $generis = common_ext_ExtensionsManager::singleton()->getExtensionById('generis'); $cache = $generis->getConfig('cache'); $cache->setServiceManager($serviceManager); $cache->purge(); return new \common_report_Report( \common_report_Report::TYPE_SUCCESS, 'RDF has been synced. Cache has been cleared. Please do not forget to restart PHP-FPM ;-)' ); } }