compatibility fix
This commit is contained in:
parent
dc54ac50e2
commit
467e5f19f7
@ -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();';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user