Merge "Rewrite pref cleanup script"
[lhc/web/wiklou.git] / includes / profiler / ProfileSection.php
index d787edb..d48f744 100644 (file)
@@ -25,7 +25,7 @@
  * Class for handling function-scope profiling
  *
  * @since 1.22
- * @deprecated 1.25 No-op now
+ * @deprecated since 1.25 No-op now
  */
 class ProfileSection {
        /**
@@ -40,5 +40,6 @@ class ProfileSection {
         * @param string $name Name of the function to profile
         */
        public function __construct( $name ) {
+               wfDeprecated( __CLASS__, '1.25' );
        }
 }