From 22f5babf4db7c93a83abb8ce4503ddc27376687e Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Tue, 12 Feb 2019 13:03:38 +0100 Subject: [PATCH] Update @deprecated comment for the DB_SLAVE constant I keep searching for the proper replacement for this deprecated constant. It's much easier to find when the @deprecated comment just mentions it. Change-Id: I199b876ecfb6e146848b395bc7bfad80742f000d --- includes/Defines.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Defines.php b/includes/Defines.php index 5ab27cc067..720e8d018d 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -31,7 +31,7 @@ use Wikimedia\Rdbms\IDatabase; # Obsolete aliases /** - * @deprecated since 1.28 + * @deprecated since 1.28, use DB_REPLICA instead */ define( 'DB_SLAVE', -1 ); -- 2.20.1