HTMLForm: Add known MediaWiki version to wfDeprecated() call
[lhc/web/wiklou.git] / includes / htmlform / HTMLForm.php
index 85a2a1b..f5be83f 100644 (file)
@@ -1287,7 +1287,7 @@ class HTMLForm extends ContextSource {
         * @return string
         */
        public function getErrors( $errors ) {
-               wfDeprecated( __METHOD__ );
+               wfDeprecated( __METHOD__, '1.28' );
                return $this->getErrorsOrWarnings( $errors, 'error' );
        }