Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
NunoLopesPT committed Jun 12, 2017
1 parent 8b48e98 commit 91fda5e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions administrator/components/com_installer/Model/Updatesites.php
Expand Up @@ -394,11 +394,11 @@ public function getJoomlaUpdateSitesIds($column = 0)
}

/**
* Fetch the Joomla update sites ids.
* Fetch the Joomla update sites names.
*
* @param integer $column Column to return. 0 for update site ids, 1 for extension ids.
* @param array $ids Extension ids to delete.
*
* @return array Array with joomla core update site ids.
* @return array Array with joomla core update site names.
*
* @since 3.6.0
*/
Expand Down
10 changes: 7 additions & 3 deletions administrator/components/com_installer/View/Updatesite/Html.php
Expand Up @@ -69,9 +69,13 @@ protected function addToolbar()
{
\JFactory::getApplication()->input->set('hidemainmenu', true);

// $user = \JFactory::getUser();
// $userId = $user->id;
// $checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $userId);
/**
*
* $user = \JFactory::getUser();
* $userId = $user->id;
* $checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $userId);
*
*/

$checkedOut = false;

Expand Down

0 comments on commit 91fda5e

Please sign in to comment.