Skip to content

Commit 2db1386

Browse files
committed
Remove deprecated Item::hasSiteLinks
1 parent f918088 commit 2db1386

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
@@ -266,16 +266,6 @@ public function hasLinkToSite( $siteId ) {
266266
return $this->siteLinks->hasLinkWithSiteId( $siteId );
267267
}
268268

269-
/**
270-
* @deprecated since 0.8, use getSiteLinkList()->isEmpty() instead.
271-
* @since 0.5
272-
*
273-
* @return bool
274-
*/
275-
public function hasSiteLinks() {
276-
return !$this->siteLinks->isEmpty();
277-
}
278-
279269
/**
280270
* @deprecated since 2.5, use new Item() instead.
281271
*

0 commit comments

Comments
 (0)