HTMLForm: Add wfDeprecated to isVForm
authorBartosz Dziewoński <matma.rex@gmail.com>
Fri, 1 May 2015 19:52:17 +0000 (21:52 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 1 May 2015 22:17:50 +0000 (22:17 +0000)
Change-Id: Idd8eb9cf63794c5a71439c130ad28564e6d3e750

includes/htmlform/HTMLForm.php
includes/htmlform/VFormHTMLForm.php

index 39ed24f..ce14003 100644 (file)
@@ -357,6 +357,7 @@ class HTMLForm extends ContextSource {
         * @return bool
         */
        public function isVForm() {
+               wfDeprecated( __METHOD__, '1.25' );
                return false;
        }
 
index 7826a0c..0c0e425 100644 (file)
@@ -38,6 +38,7 @@ class VFormHTMLForm extends HTMLForm {
        protected $displayFormat = 'vform';
 
        public function isVForm() {
+               wfDeprecated( __METHOD__, '1.25' );
                return true;
        }