update fix deadcode, security

This commit is contained in:
baodev0
2026-09-28 08:26:29 +07:00
parent 3af59bd9c5
commit 82080b5b84
452 changed files with 4857 additions and 26289 deletions
-5
View File
@@ -7,9 +7,4 @@ use Illuminate\Database\Eloquent\Model;
class VmProvisionLock extends Model
{
protected $fillable = ['customer_id', 'order_item_id', 'status'];
public static function isRunning(int $customerId): bool
{
return static::where('customer_id', $customerId)->where('status', 'running')->exists();
}
}