File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,16 +231,6 @@ public function removeSiteLink( $siteId ) {
231231 $ this ->siteLinks ->removeLinkWithSiteId ( $ siteId );
232232 }
233233
234- /**
235- * @deprecated since 0.8, use getSiteLinkList() instead,
236- * @since 0.6
237- *
238- * @return SiteLink[]
239- */
240- public function getSiteLinks () {
241- return array_values ( iterator_to_array ( $ this ->siteLinks ) );
242- }
243-
244234 /**
245235 * @deprecated since 0.8, use getSiteLinkList()->getBySiteId() instead.
246236 * @since 0.6
Original file line number Diff line number Diff line change @@ -117,21 +117,6 @@ public function simpleSiteLinkProvider() {
117117 return $ argLists ;
118118 }
119119
120- /**
121- * @dataProvider simpleSiteLinksProvider
122- */
123- public function testGetSiteLinks () {
124- $ siteLinks = func_get_args ();
125- $ item = new Item ();
126-
127- foreach ( $ siteLinks as $ siteLink ) {
128- $ item ->getSiteLinkList ()->addSiteLink ( $ siteLink );
129- }
130-
131- $ this ->assertInternalType ( 'array ' , $ item ->getSiteLinks () );
132- $ this ->assertEquals ( $ siteLinks , $ item ->getSiteLinks () );
133- }
134-
135120 public function simpleSiteLinksProvider () {
136121 $ argLists = [];
137122
You can’t perform that action at this time.
0 commit comments