API17:JInstaller::cleanDiscoveredExtension
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JInstaller::cleanDiscoveredExtension
Description
Cleans up discovered extensions if they're being installed somehow else.
Description:JInstaller::cleanDiscoveredExtension [Edit Descripton]
Synopsis
public JInstaller::cleanDiscoveredExtension ($type, $element, $folder='', $client=0)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $type | string | The type of extension (component, etc) | |
| $element | string | Unique element identifier (e.g. com_content) | |
| $folder | string | The folder of the extension (plugins; e.g. system) | |
| $client | int | 0 | The client application (administrator or site) |
Returns
result of query
Defined in
libraries/joomla/installer/installer.php (line 1707)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JInstaller::cleanDiscoveredExtension
Examples
<CodeExamplesForm />
