Skip to content

Commit

Permalink
change to to avoid conflicts with extensions that already do this
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Sep 28, 2024
1 parent 2b546b6 commit 0d49d02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/core/src/Queue/AbstractJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ class AbstractJob implements ShouldQueue
/**
* @var string|null
*/
public static $onQueue = null;
public static $sendOnQueue = null;

public function __construct()
{
if (static::$onQueue) {
$this->onQueue(static::$onQueue);
if (static::$sendOnQueue) {
$this->onQueue(static::$sendOnQueue);
}
}
}

0 comments on commit 0d49d02

Please sign in to comment.