Commit 0feb286a authored by Rajeev Kumar's avatar Rajeev Kumar Committed by Zvonimir Rudinski
Browse files

Issue #2402429 by leewillis77, RajeevK: Allow cron query to be altered by other modules

parent 962f23c5
Loading
Loading
Loading
Loading
+1 −0
Changes for commerce_stock_notifications.module: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -258,6 +258,7 @@ function commerce_stock_notifications_cron() {
      ->condition(db_or()->condition('fdcs.commerce_stock_value', 0, '>')->condition('csn.force_send', 1))
      ->orderBy('submit_time', 'ASC')
      ->range(0, 500);
    $query->addTag('commerce_stock_notifications_query_tag');

    $result = $query->execute();
    foreach ($result as $record) {