1
0
mirror of synced 2024-11-25 14:56:09 +03:00

compatibility fix

This commit is contained in:
Grigory Pomadchin 2014-11-25 15:56:18 +03:00
parent dc54ac50e2
commit 467e5f19f7

View File

@ -1075,10 +1075,10 @@ class ICrmOrderActions
* @return self name
*/
public static function orderAgent() {
public static function notForkedOrderAgent() {
self::uploadOrdersAgent();
self::orderHistory();
return 'ICrmOrderActions::orderAgent();';
return 'ICrmOrderActions::notForkedOrderAgent();';
}
/**
@ -1088,7 +1088,7 @@ class ICrmOrderActions
* @return self name
*/
public static function forkedOrderAgent() {
public static function orderAgent() {
if(self::isForkable()) {
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,
@ -1103,7 +1103,7 @@ class ICrmOrderActions
self::orderAgent();
}
return 'ICrmOrderActions::forkedOrderAgent();';
return 'ICrmOrderActions::orderAgent();';
}
/**