private function unsetModuleDataIfCanNotBeSerialized(string &$serializedModuleData = null)
    {
        if (!isset($serializedModuleData)) {
            $serializedModuleData = '';
            return;
        }
        if (false !== strpos($serializedModuleData, 'ApacheSolrForTypo3\\Solr\\Domain\\Model\\ModuleData')
            || false !== strpos($serializedModuleData, 'Tx_Solr_Site')) {
            $serializedModuleData = '';
        }
    }
private function unsetModuleDataIfCanNotBeSerialized(string &$serializedModuleData = null)
    {
        if (!isset($serializedModuleData)) {
            $serializedModuleData = '';
            return;
        }
        if (false !== strpos($serializedModuleData, 'ApacheSolrForTypo3\\Solr\\Domain\\Model\\ModuleData')
            || false !== strpos($serializedModuleData, 'Tx_Solr_Site')) {
            $serializedModuleData = '';
        }
    }
private function unsetModuleDataIfCanNotBeSerialized ( string & $ serializedModuleData = null ) { if ( ! isset ( $ serializedModuleData ) ) { $ serializedModuleData = '' ; return ; } if ( false !== strpos ( $ serializedModuleData , 'ApacheSolrForTypo3\\Solr\\Domain\\Model\\ModuleData' ) || false !== strpos ( $ serializedModuleData , 'Tx_Solr_Site' ) ) { $ serializedModuleData = '' ; } }
Unsets not serializable module data.

@param string|null $serializedModuleData
Unsets not serializable module data .