Skip to content

Commit 2395500

Browse files
committed
Revert "Update tools.class.php - add bleutrade api support"
1 parent 2b6bc7e commit 2395500

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

include/classes/tools.class.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ private function getApiType($url) {
8383
return 'mintpal';
8484
} else if (preg_match('/bittrex.com/', $url)) {
8585
return 'bittrex';
86-
} else if (preg_match('/bleutrade.com/', $url)) {
87-
return 'bleutrade';
8886
}
8987
$this->setErrorMessage("API URL unknown");
9088
return false;
@@ -120,10 +118,7 @@ public function getPrice() {
120118
case 'mintpal':
121119
return @$aData['0']['last_price'];
122120
break;
123-
case 'bittrex':
124-
return @$aData['result']['Last'];
125-
break;
126-
case 'bleutrade':
121+
case 'bittrex':
127122
return @$aData['result']['Last'];
128123
break;
129124
}

0 commit comments

Comments
 (0)