Skip to content

Commit

Permalink
fix import HttpSocketOauth
Browse files Browse the repository at this point in the history
  • Loading branch information
imsamurai committed Feb 11, 2014
1 parent 1f6b9b2 commit a333005
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Model/Datasource/HttpSourceConnection.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

App::import('Plugin', 'HttpSocketOauth/HttpSocketOauth');

/**
* Author: imsamurai <im.samuray@gmail.com>
* Date: 17.07.2013
Expand Down Expand Up @@ -76,7 +78,6 @@ public function __construct(array $config = array(), HttpSocket $Transport = nul
$config['auth']['method'] = 'OAuth';
}

App::import('Plugin', 'HttpSocketOauth/HttpSocketOauth');
$Transport = new HttpSocketOauth($config);
} else {
App::uses('HttpSocket', 'Network/Http');
Expand Down

0 comments on commit a333005

Please sign in to comment.