Skip to content

Commit ccc1a44

Browse files
authored
Merge pull request #740 from wmde/itemHasSiteLinks
Remove deprecated Item::hasSiteLinks
2 parents 48dda32 + 2db1386 commit ccc1a44

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/Entity/Item.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,16 +256,6 @@ public function hasLinkToSite( $siteId ) {
256256
return $this->siteLinks->hasLinkWithSiteId( $siteId );
257257
}
258258

259-
/**
260-
* @deprecated since 0.8, use getSiteLinkList()->isEmpty() instead.
261-
* @since 0.5
262-
*
263-
* @return bool
264-
*/
265-
public function hasSiteLinks() {
266-
return !$this->siteLinks->isEmpty();
267-
}
268-
269259
/**
270260
* @deprecated since 2.5, use new Item() instead.
271261
*

0 commit comments

Comments
 (0)