pixelfed/app/Jobs/ProfilePipeline/IncrementPostCount.php

44 lines
849 B
PHP
Raw Permalink Normal View History

2022-08-06 09:23:58 +00:00
<?php
namespace App\Jobs\ProfilePipeline;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldBeUnique;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
2023-11-13 13:11:39 +00:00
use Illuminate\Queue\Middleware\WithoutOverlapping;
use Illuminate\Contracts\Queue\ShouldBeUniqueUntilProcessing;
2022-08-06 09:23:58 +00:00
use App\Profile;
use App\Status;
use App\Services\AccountService;
2024-02-04 09:53:40 +00:00
class IncrementPostCount implements ShouldQueue
2022-08-06 09:23:58 +00:00
{
2023-03-03 11:54:28 +00:00
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public $id;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct($id)
{
$this->id = $id;
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
2024-02-04 09:53:40 +00:00
// deprecated
return;
2023-03-03 11:54:28 +00:00
}
2022-08-06 09:23:58 +00:00
}