You are here

function acquia_lift_delete_queue in Acquia Lift Connector 7

Deletes everything from the Lift sync queue.

2 calls to acquia_lift_delete_queue()
acquia_lift_batch_sync_campaigns in ./acquia_lift.batch.inc
Batch syncs all campaigns to Lift.
drush_acquia_lift_campaign_sync in ./acquia_lift.drush.inc
Syncs the Acquia Lift Campaigns.

File

./acquia_lift.module, line 1106
acquia_lift.module Provides Acquia Lift-specific personalization functionality.

Code

function acquia_lift_delete_queue() {
  $queue = DrupalQueue::get('acquia_lift_sync');
  $queue
    ->deleteQueue();
}