X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fprofiler%2FProfileSection.php;h=124e2d3b11704a3f715a2a11377a62f57822e866;hp=32daeed4bf5ea502378a55387edaac53f357dcec;hb=ae7237ea98398b9fb44ead73f196d7e5a859a876;hpb=75d8b6c6cd2b70d98242e1246678c12e973a5dfa diff --git a/includes/profiler/ProfileSection.php b/includes/profiler/ProfileSection.php index 32daeed4bf..124e2d3b11 100644 --- a/includes/profiler/ProfileSection.php +++ b/includes/profiler/ProfileSection.php @@ -35,10 +35,11 @@ class ProfileSection { * the same moment that the function to be profiled terminates. * * This is typically called like: - * @code$section = new ProfileSection( __METHOD__ );@endcode + * @code $section = new ProfileSection( __METHOD__ ); @endcode * * @param string $name Name of the function to profile */ public function __construct( $name ) { + wfDeprecated( __CLASS__, '1.25' ); } }