From: Max Semenik Date: Sat, 12 Aug 2017 02:42:04 +0000 (-0700) Subject: Hard-deprecate ProfileSection X-Git-Tag: 1.31.0-rc.0~2382 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24ze_article%22%29%20.%20%22?a=commitdiff_plain;h=0778fa153ea4051e8ad8ca8024639c16de746b84;p=lhc%2Fweb%2Fwiklou.git Hard-deprecate ProfileSection No usages anywhere, to be removed in 1.31 Change-Id: I3ed4c2aa07d97e18c026e9ee6dae66d3b023896f --- diff --git a/includes/profiler/ProfileSection.php b/includes/profiler/ProfileSection.php index 32daeed4bf..d48f74422f 100644 --- a/includes/profiler/ProfileSection.php +++ b/includes/profiler/ProfileSection.php @@ -40,5 +40,6 @@ class ProfileSection { * @param string $name Name of the function to profile */ public function __construct( $name ) { + wfDeprecated( __CLASS__, '1.25' ); } }