From: Bartosz DziewoƄski Date: Fri, 1 May 2015 19:52:17 +0000 (+0200) Subject: HTMLForm: Add wfDeprecated to isVForm X-Git-Tag: 1.31.0-rc.0~11527^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=9172be5a0cfa22739ce1f762aa9a44cfae7b4483;p=lhc%2Fweb%2Fwiklou.git HTMLForm: Add wfDeprecated to isVForm Change-Id: Idd8eb9cf63794c5a71439c130ad28564e6d3e750 --- diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index 39ed24f6f7..ce14003836 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -357,6 +357,7 @@ class HTMLForm extends ContextSource { * @return bool */ public function isVForm() { + wfDeprecated( __METHOD__, '1.25' ); return false; } diff --git a/includes/htmlform/VFormHTMLForm.php b/includes/htmlform/VFormHTMLForm.php index 7826a0c79d..0c0e425209 100644 --- a/includes/htmlform/VFormHTMLForm.php +++ b/includes/htmlform/VFormHTMLForm.php @@ -38,6 +38,7 @@ class VFormHTMLForm extends HTMLForm { protected $displayFormat = 'vform'; public function isVForm() { + wfDeprecated( __METHOD__, '1.25' ); return true; }