Hard-deprecate ApiBase::profile{In|Out}()
authorMax Semenik <maxsem.wiki@gmail.com>
Thu, 28 Jun 2018 20:57:46 +0000 (13:57 -0700)
committerMax Semenik <maxsem.wiki@gmail.com>
Thu, 28 Jun 2018 20:57:46 +0000 (13:57 -0700)
The only remaining calls are getting removed in I37641dee50a.

Change-Id: I3ee698781a4698d1ef8e74209b82fb1f984fb8e9

includes/api/ApiBase.php

index 98aa554..943ee22 100644 (file)
@@ -2675,16 +2675,14 @@ abstract class ApiBase extends ContextSource {
         * @deprecated since 1.25
         */
        public function profileIn() {
-               // No wfDeprecated() yet because extensions call this and might need to
-               // keep doing so for BC.
+               wfDeprecated( __METHOD__, '1.25' );
        }
 
        /**
         * @deprecated since 1.25
         */
        public function profileOut() {
-               // No wfDeprecated() yet because extensions call this and might need to
-               // keep doing so for BC.
+               wfDeprecated( __METHOD__, '1.25' );
        }
 
        /**