Skip to content

Commit

Permalink
ccxt: drop unused
Browse files Browse the repository at this point in the history
  • Loading branch information
kornrunner committed Dec 20, 2017
1 parent 1d220d7 commit c9c153f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions ccxt.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@

namespace ccxt;

$version = '1.10.429';

define('PATH_TO_CCXT', __DIR__ . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR);

spl_autoload_register (function ($class_name) {
Expand Down
4 changes: 1 addition & 3 deletions php/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

namespace ccxt;

$version = '1.9.282';
$version = '1.10.429';

abstract class Exchange {

Expand Down Expand Up @@ -468,8 +468,6 @@ public function describe () {

public function __construct ($options = array ()) {

global $version;

$this->curl = curl_init ();
$this->id = null;

Expand Down
2 changes: 1 addition & 1 deletion vss.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function vss (filename, regex, replacement) {

//-----------------------------------------------------------------------------

vss ('./ccxt.php', /\$version \= \'[^\']+\'/, "$version = '")
vss ('./php/Exchange.php', /\$version \= \'[^\']+\'/, "$version = '")
vss ('./ccxt.js', /const version \= \'[^\']+\'/, "const version = '")
vss ('./python/ccxt/__init__.py', /\_\_version\_\_ \= \'[^\']+\'/, "__version__ = '")
vss ('./python/ccxt/async/__init__.py', /\_\_version\_\_ \= \'[^\']+\'/, "__version__ = '")
Expand Down

0 comments on commit c9c153f

Please sign in to comment.