Skip to content

Commit

Permalink
Merge pull request #8 from zero-24/patch-25
Browse files Browse the repository at this point in the history
Make travis Happy for #5499
  • Loading branch information
Nicholas K. Dionysopoulos committed Dec 23, 2014
2 parents 616da6d + aaa1d38 commit f2888e9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions libraries/cms/installer/adapter/component.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit f2888e9

Please sign in to comment.