@@ -250,11 +250,11 @@ function _quickbooks_hook_loginsuccess($requestID, $user, $hook, &$err, $hook_da
250250 }
251251
252252 // Make sure the requests get queued up
253- //$Queue->enqueue(QUICKBOOKS_IMPORT_SALESORDER, 1, QB_PRIORITY_SALESORDER, $user);
254- //$Queue->enqueue(QUICKBOOKS_IMPORT_INVOICE, 1, QB_PRIORITY_INVOICE, $user);
255- $ Queue ->enqueue (QUICKBOOKS_IMPORT_PURCHASEORDER , 1 , QB_PRIORITY_PURCHASEORDER , $ user );
256- $ Queue ->enqueue (QUICKBOOKS_IMPORT_CUSTOMER , 1 , QB_PRIORITY_CUSTOMER , $ user );
257- //$Queue->enqueue(QUICKBOOKS_IMPORT_ITEM, 1, QB_PRIORITY_ITEM, $user);
253+ //$Queue->enqueue(QUICKBOOKS_IMPORT_SALESORDER, 1, QB_PRIORITY_SALESORDER, null, $user);
254+ //$Queue->enqueue(QUICKBOOKS_IMPORT_INVOICE, 1, QB_PRIORITY_INVOICE, null, $user);
255+ $ Queue ->enqueue (QUICKBOOKS_IMPORT_PURCHASEORDER , 1 , QB_PRIORITY_PURCHASEORDER , null , $ user );
256+ $ Queue ->enqueue (QUICKBOOKS_IMPORT_CUSTOMER , 1 , QB_PRIORITY_CUSTOMER , null , $ user );
257+ //$Queue->enqueue(QUICKBOOKS_IMPORT_ITEM, 1, QB_PRIORITY_ITEM, null, $user);
258258}
259259
260260/**
@@ -370,7 +370,7 @@ function _quickbooks_invoice_import_response($requestID, $user, $action, $ID, $e
370370 // Queue up another request
371371
372372 $ Queue = QuickBooks_WebConnector_Queue_Singleton::getInstance ();
373- $ Queue ->enqueue (QUICKBOOKS_IMPORT_INVOICE , null , QB_PRIORITY_INVOICE , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ));
373+ $ Queue ->enqueue (QUICKBOOKS_IMPORT_INVOICE , null , QB_PRIORITY_INVOICE , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ), $ user );
374374 }
375375
376376 // This piece of the response from QuickBooks is now stored in $xml. You
@@ -518,7 +518,7 @@ function _quickbooks_customer_import_response($requestID, $user, $action, $ID, $
518518 // Queue up another request
519519
520520 $ Queue = QuickBooks_WebConnector_Queue_Singleton::getInstance ();
521- $ Queue ->enqueue (QUICKBOOKS_IMPORT_CUSTOMER , null , QB_PRIORITY_CUSTOMER , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ));
521+ $ Queue ->enqueue (QUICKBOOKS_IMPORT_CUSTOMER , null , QB_PRIORITY_CUSTOMER , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ), $ user );
522522 }
523523
524524 // This piece of the response from QuickBooks is now stored in $xml. You
@@ -634,7 +634,7 @@ function _quickbooks_salesorder_import_response($requestID, $user, $action, $ID,
634634 // Queue up another request
635635
636636 $ Queue = QuickBooks_WebConnector_Queue_Singleton::getInstance ();
637- $ Queue ->enqueue (QUICKBOOKS_IMPORT_SALESORDER , null , QB_PRIORITY_SALESORDER , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ));
637+ $ Queue ->enqueue (QUICKBOOKS_IMPORT_SALESORDER , null , QB_PRIORITY_SALESORDER , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ), $ user );
638638 }
639639
640640 // This piece of the response from QuickBooks is now stored in $xml. You
@@ -782,7 +782,7 @@ function _quickbooks_item_import_response($requestID, $user, $action, $ID, $extr
782782 // Queue up another request
783783
784784 $ Queue = QuickBooks_WebConnector_Queue_Singleton::getInstance ();
785- $ Queue ->enqueue (QUICKBOOKS_IMPORT_ITEM , null , QB_PRIORITY_ITEM , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ));
785+ $ Queue ->enqueue (QUICKBOOKS_IMPORT_ITEM , null , QB_PRIORITY_ITEM , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ), $ user );
786786 }
787787
788788 // Import all of the records
@@ -922,7 +922,7 @@ function _quickbooks_purchaseorder_import_response($requestID, $user, $action, $
922922 // Queue up another request
923923
924924 $ Queue = QuickBooks_WebConnector_Queue_Singleton::getInstance ();
925- $ Queue ->enqueue (QUICKBOOKS_IMPORT_PURCHASEORDER , null , QB_PRIORITY_PURCHASEORDER , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ));
925+ $ Queue ->enqueue (QUICKBOOKS_IMPORT_PURCHASEORDER , null , QB_PRIORITY_PURCHASEORDER , array ( 'iteratorID ' => $ idents ['iteratorID ' ] ), $ user );
926926 }
927927
928928 // This piece of the response from QuickBooks is now stored in $xml. You
0 commit comments