TYPO3  7.6
Protected Member Functions | List of all members
UninstallExtension Class Reference
Inheritance diagram for UninstallExtension:
AbstractAjaxAction AbstractAction ActionInterface

Protected Member Functions

 executeAction ()
 

Additional Inherited Members

- Public Member Functions inherited from AbstractAjaxAction
 handle ()
 
- Protected Attributes inherited from AbstractAction
 $objectManager = null
 
 $view = null
 
 $controller = ''
 
 $action = ''
 
 $token = ''
 
 $postValues = array()
 
 $lastError = array()
 
 $messages = array()
 

Detailed Description

Uninstall Extensions

Used for uninstalling an extension (or multiple) via an ajax request.

If you use this class you have to take care of clearing the cache afterwards, it's not done here because for fully clearing the cache you need a reload to take care of changed cache configurations due to no longer installed extensions. Use the clearCache ajax action afterwards.

Definition at line 30 of file UninstallExtension.php.

Member Function Documentation

executeAction ( )
protected

Uninstall one or multiple extensions Extension keys are read from get vars, more than one extension has to be comma separated

Returns
string "OK" on success, the error message otherwise

Definition at line 38 of file UninstallExtension.php.

References GeneralUtility\_GET(), ExtensionManagementUtility\isLoaded(), GeneralUtility\trimExplode(), and ExtensionManagementUtility\unloadExtension().