From: Thiemo Kreuz Date: Tue, 12 Feb 2019 12:03:38 +0000 (+0100) Subject: Update @deprecated comment for the DB_SLAVE constant X-Git-Tag: 1.34.0-rc.0~2836 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=22f5babf4db7c93a83abb8ce4503ddc27376687e;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 );