Trim verbose host-check comments

This commit is contained in:
Prem Palanisamy
2026-05-24 12:43:15 +01:00
parent 9c1a82bcb6
commit 9c774acf02
@@ -210,8 +210,6 @@ class Migrations extends Action
// Same projectId may collide with an external Appwrite — trust the DB fast
// path only when the source URL targets this cluster's public or internal host.
// Env values are run through parse_url too so a port suffix (appwrite:8080)
// can't break equality with the port-stripped source host.
$sourceHost = parse_url($credentials['endpoint'] ?? '', PHP_URL_HOST);
$rawDomain = System::getEnv('_APP_DOMAIN', '');
$rawMigrationHost = System::getEnv('_APP_MIGRATION_HOST', '');