Skip to content

Commit

Permalink
revert the change here
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Apr 18, 2017
1 parent c7cd5b1 commit 1aa2a04
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions libraries/joomla/oauth1/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,11 @@ public function __construct(Registry $options = null, JHttp $client = null, JInp
$version = null)
{
$this->options = isset($options) ? $options : new Registry;
$this->client = isset($client) ? $client : JHttpFactory::getHttp($this->options);
$this->input = isset($input) ? $input : JFactory::getApplication()->input;
$this->application = isset($application) ? $application : new JApplicationWeb;
$this->version = isset($version) ? $version : '1.0a';

try
{
$http = JHttpFactory::getHttp($options);
}
catch (RuntimeException $exception)
{
$http = null;
}

$this->client = isset($client) ? $client : $http;

}

/**
Expand Down

0 comments on commit 1aa2a04

Please sign in to comment.