1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 07:14:04 +00:00

Change terminology to pending

This commit is contained in:
j.stein 2022-02-09 22:55:03 +01:00
parent c8eadeb363
commit 500b2538fc
20 changed files with 387 additions and 385 deletions

View file

@ -12,7 +12,7 @@ use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Artisan;
use Stancl\Tenancy\Contracts\TenantWithDatabase;
class ClearReadiedTenants implements ShouldQueue
class ClearPendingTenants implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
@ -23,6 +23,6 @@ class ClearReadiedTenants implements ShouldQueue
*/
public function handle()
{
Artisan::call('tenants:readied-clear');
Artisan::call(\Stancl\Tenancy\Commands\ClearPendingTenants::class);
}
}

View file

@ -12,7 +12,7 @@ use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Artisan;
use Stancl\Tenancy\Contracts\TenantWithDatabase;
class CreateReadiedTenants implements ShouldQueue
class CreatePendingTenants implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
@ -23,6 +23,6 @@ class CreateReadiedTenants implements ShouldQueue
*/
public function handle()
{
Artisan::call('tenants:readied');
Artisan::call(\Stancl\Tenancy\Commands\CreatePendingTenants::class);
}
}