DatabaseBlock: Remove deprecated isValid method
Change-Id: I5f54426207f31f6acaceb8f21d43ddb2227d58cc
This commit is contained in:
parent
809533bdbc
commit
7276b4effd
2 changed files with 1 additions and 11 deletions
|
|
@ -490,6 +490,7 @@ because of Phabricator reports.
|
|||
This was deprecated in 1.25.
|
||||
* The ArticleAfterFetchContentObject hook, deprecated in 1.32, was removed.
|
||||
Use ArticleRevisionViewCustom to control output.
|
||||
* DatabaseBlock::isValid, deprecated in 1.33, was removed.
|
||||
* HTMLUserTextField and HTMLUsersMultiselectField previously implied
|
||||
required=true when exists=true. Form fields that use exists=true should also
|
||||
set required=true if they are required.
|
||||
|
|
|
|||
|
|
@ -933,17 +933,6 @@ class DatabaseBlock extends AbstractBlock {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Is the block address valid (i.e. not a null string?)
|
||||
*
|
||||
* @deprecated since 1.33 No longer needed in core.
|
||||
* @return bool
|
||||
*/
|
||||
public function isValid() {
|
||||
wfDeprecated( __METHOD__, '1.33' );
|
||||
return $this->getTarget() != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the timestamp on autoblocks.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue