public function unregisterExtension(common_ext_Extension $extension)
    {
        $extensions = $this->getExtensionById('generis')->getConfig(self::EXTENSIONS_CONFIG_KEY);
        unset($extensions[$extension->getId()]);
        $this->getExtensionById('generis')->setConfig(self::EXTENSIONS_CONFIG_KEY, $extensions);
    }
public function unregisterExtension(common_ext_Extension $extension)
    {
        $extensions = $this->getExtensionById('generis')->getConfig(self::EXTENSIONS_CONFIG_KEY);
        unset($extensions[$extension->getId()]);
        $this->getExtensionById('generis')->setConfig(self::EXTENSIONS_CONFIG_KEY, $extensions);
    }
public function unregisterExtension ( common_ext_Extension $ extension ) { $ extensions = $ this -> getExtensionById ( 'generis' ) -> getConfig ( self :: EXTENSIONS_CONFIG_KEY ) ; unset ( $ extensions [ $ extension -> getId ( ) ] ) ; $ this -> getExtensionById ( 'generis' ) -> setConfig ( self :: EXTENSIONS_CONFIG_KEY , $ extensions ) ; }
Add the end of an uninstallation unregister the extension

@access public
@author Joel Bout, <joel@taotesting.com>
@param common_ext_Extension $extension
@return boolean
Add the end of an uninstallation unregister the extension