From 53b888672950cf0a47bcc4c8601bb7865a8745ec Mon Sep 17 00:00:00 2001 From: fogelito Date: Mon, 2 Feb 2026 11:29:38 +0200 Subject: [PATCH] Remove env variable --- .env | 1 - docker-compose.yml | 1 - src/Appwrite/Platform/Workers/Migrations.php | 5 ----- 3 files changed, 7 deletions(-) diff --git a/.env b/.env index 3755c064c5..0f6ce2e896 100644 --- a/.env +++ b/.env @@ -131,4 +131,3 @@ _APP_FUNCTIONS_CREATION_ABUSE_LIMIT=5000 _APP_STATS_USAGE_DUAL_WRITING_DBS=database_db_main _APP_TRUSTED_HEADERS=x-forwarded-for _APP_POOL_ADAPTER=stack -_APP_MIGRATION_ENDPOINT=http://appwrite.test/v1 diff --git a/docker-compose.yml b/docker-compose.yml index 4fed970f5e..0eee94a999 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -818,7 +818,6 @@ services: - _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET - _APP_DATABASE_SHARED_TABLES - _APP_OPTIONS_FORCE_HTTPS - - _APP_MIGRATION_ENDPOINT appwrite-task-maintenance: entrypoint: maintenance diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index 70b3ed7d97..1e2bace54b 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -333,11 +333,6 @@ class Migrations extends Action $transfer = $source = $destination = null; - // $endpoint = System::getEnv('_APP_MIGRATION_ENDPOINT'); - // if (empty($endpoint)) { - // throw new \Exception('_APP_MIGRATION_ENDPOINT env is empty'); - // } - $protocol = System::getEnv('_APP_OPTIONS_FORCE_HTTPS') === 'disabled' ? 'http' : 'https'; $endpoint = $protocol . '://' . $platform['apiHostname'] . '/v1';