Skip to content

Commit f2888e9

Browse files
author
Nicholas K. Dionysopoulos
committed
Merge pull request #8 from zero-24/patch-25
Make travis Happy for #5499
2 parents 616da6d + aaa1d38 commit f2888e9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

libraries/cms/installer/adapter/component.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,9 +1138,9 @@ public function uninstall($id)
11381138

11391139
// Remove categories for this component
11401140
$query->clear()
1141-
->delete('#__categories')
1142-
->where('extension=' . $db->quote($this->element), 'OR')
1143-
->where('extension LIKE ' . $db->quote($this->element . '.%'));
1141+
->delete('#__categories')
1142+
->where('extension=' . $db->quote($this->element), 'OR')
1143+
->where('extension LIKE ' . $db->quote($this->element . '.%'));
11441144
$db->setQuery($query);
11451145
$db->execute();
11461146

@@ -1252,10 +1252,10 @@ protected function _buildAdminMenus($component_id = null)
12521252
{
12531253
// Lets find the extension id
12541254
$query->clear()
1255-
->select('e.extension_id')
1256-
->from('#__extensions AS e')
1257-
->where('e.type = ' . $db->quote('component'))
1258-
->where('e.element = ' . $db->quote($option));
1255+
->select('e.extension_id')
1256+
->from('#__extensions AS e')
1257+
->where('e.type = ' . $db->quote('component'))
1258+
->where('e.element = ' . $db->quote($option));
12591259

12601260
$db->setQuery($query);
12611261
$component_id = $db->loadResult();
@@ -1874,8 +1874,8 @@ public function refreshManifestCache()
18741874
/**
18751875
* Creates the menu item in the database. If the item already exists it tries to remove it and create it afresh.
18761876
*
1877-
* @param array &$data The menu item data to create
1878-
* @param integer $parentId The parent menu item ID
1877+
* @param array &$data The menu item data to create
1878+
* @param integer $parentId The parent menu item ID
18791879
*
18801880
* @return bool|int Menu item ID on success, false on failure
18811881
*/

0 commit comments

Comments
 (0)