From 1b56c5e61af446dd95a388fa2ae7ca5c2e9d8e44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 20 Feb 2025 17:35:11 +0100 Subject: [PATCH] remove todos --- src/Features/UserImpersonation.php | 1 - src/ResourceSyncing/SyncMaster.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/Features/UserImpersonation.php b/src/Features/UserImpersonation.php index 930e4523..2e0fedbf 100644 --- a/src/Features/UserImpersonation.php +++ b/src/Features/UserImpersonation.php @@ -54,7 +54,6 @@ class UserImpersonation implements Feature return redirect($token->redirect_url); } - // todo0 test with session scoping public static function isImpersonating(): bool { return session()->has('tenancy_impersonating'); diff --git a/src/ResourceSyncing/SyncMaster.php b/src/ResourceSyncing/SyncMaster.php index d1261b55..882aeb54 100644 --- a/src/ResourceSyncing/SyncMaster.php +++ b/src/ResourceSyncing/SyncMaster.php @@ -9,8 +9,6 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Stancl\Tenancy\Database\Contracts\TenantWithDatabase; -// todo@move move all resource syncing-related things to a separate namespace? todo0 seems to be done, confirm EVERYTHING is moved - /** * @property-read TenantWithDatabase[]|Collection $tenants */