diff --git a/libraries/cms/installer/adapter/component.php b/libraries/cms/installer/adapter/component.php index 4f97b818492da..466e58f6e8cac 100644 --- a/libraries/cms/installer/adapter/component.php +++ b/libraries/cms/installer/adapter/component.php @@ -1138,9 +1138,9 @@ public function uninstall($id) // Remove categories for this component $query->clear() - ->delete('#__categories') - ->where('extension=' . $db->quote($this->element), 'OR') - ->where('extension LIKE ' . $db->quote($this->element . '.%')); + ->delete('#__categories') + ->where('extension=' . $db->quote($this->element), 'OR') + ->where('extension LIKE ' . $db->quote($this->element . '.%')); $db->setQuery($query); $db->execute(); @@ -1252,10 +1252,10 @@ protected function _buildAdminMenus($component_id = null) { // Lets find the extension id $query->clear() - ->select('e.extension_id') - ->from('#__extensions AS e') - ->where('e.type = ' . $db->quote('component')) - ->where('e.element = ' . $db->quote($option)); + ->select('e.extension_id') + ->from('#__extensions AS e') + ->where('e.type = ' . $db->quote('component')) + ->where('e.element = ' . $db->quote($option)); $db->setQuery($query); $component_id = $db->loadResult(); @@ -1874,8 +1874,8 @@ public function refreshManifestCache() /** * Creates the menu item in the database. If the item already exists it tries to remove it and create it afresh. * - * @param array &$data The menu item data to create - * @param integer $parentId The parent menu item ID + * @param array &$data The menu item data to create + * @param integer $parentId The parent menu item ID * * @return bool|int Menu item ID on success, false on failure */