TablePager: Hard-deprecate getBody(), deprecated in 1.24
Change-Id: I1a4e706f1c364e5ac41aea3b29bfe08d79911411
This commit is contained in:
parent
cecd3f4019
commit
e25d7bdbcf
2 changed files with 3 additions and 0 deletions
|
|
@ -522,6 +522,7 @@ because of Phabricator reports.
|
|||
* The following methods, previously deprecated, now emit deprecation warnings:
|
||||
- ConfigFactory::getDefaultInstance(), deprecated since 1.27
|
||||
- AbstractContent::getNativeData(), deprecated since 1.33
|
||||
- TablePager::getBody(), deprecated since 1.24
|
||||
* …
|
||||
|
||||
=== Other changes in 1.41 ===
|
||||
|
|
|
|||
|
|
@ -73,9 +73,11 @@ abstract class TablePager extends IndexPager {
|
|||
* rather than mysteriously render things wrong.
|
||||
*
|
||||
* @deprecated since 1.24, use getBodyOutput() or getFullOutput() instead
|
||||
* Emitting deprecation warnings since 1.41.
|
||||
* @return string
|
||||
*/
|
||||
final public function getBody() {
|
||||
wfDeprecated( __METHOD__, '1.24' );
|
||||
return parent::getBody();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue