From 01b5bf9ea10218e5c0b9805eb8c2a070df2c8766 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Mon, 5 Feb 2024 22:37:34 +0100 Subject: [PATCH] Deprecate Fund and Phortune prototype applications Summary: See T15726 Test Plan: Go to `/applications/` and see that Fund and Phortune say "Deprecated". Reviewers: O1 Blessed Committers, speck Reviewed By: O1 Blessed Committers, speck Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25533 --- .../fund/application/PhabricatorFundApplication.php | 4 ++++ .../phortune/application/PhabricatorPhortuneApplication.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/applications/fund/application/PhabricatorFundApplication.php b/src/applications/fund/application/PhabricatorFundApplication.php index 5e2d33c1a4..8fe832473e 100644 --- a/src/applications/fund/application/PhabricatorFundApplication.php +++ b/src/applications/fund/application/PhabricatorFundApplication.php @@ -30,6 +30,10 @@ final class PhabricatorFundApplication extends PhabricatorApplication { return true; } + public function isDeprecated() { + return true; + } + public function getRemarkupRules() { return array( new FundInitiativeRemarkupRule(), diff --git a/src/applications/phortune/application/PhabricatorPhortuneApplication.php b/src/applications/phortune/application/PhabricatorPhortuneApplication.php index 25680ba6c5..0311c94a00 100644 --- a/src/applications/phortune/application/PhabricatorPhortuneApplication.php +++ b/src/applications/phortune/application/PhabricatorPhortuneApplication.php @@ -30,6 +30,10 @@ final class PhabricatorPhortuneApplication extends PhabricatorApplication { return true; } + public function isDeprecated() { + return true; + } + public function getRoutes() { return array( '/phortune/' => array(