@@ -263,22 +263,6 @@ public function follow($targetFeedSlug, $targetUserId, $activityCopyLimit = 300)
263263 return $ this ->makeHttpRequest ("{$ this ->base_feed_url }/follows/ " , 'POST ' , $ data , null , 'follower ' , 'write ' );
264264 }
265265
266- /**
267- * @deprecated Will be removed in version 3.0.0
268- *
269- * @param string $targetFeedSlug
270- * @param string $targetUserId
271- * @param int $activityCopyLimit
272- *
273- * @return mixed
274- *
275- * @throws StreamFeedException
276- */
277- public function followFeed ($ targetFeedSlug , $ targetUserId , $ activityCopyLimit = 300 )
278- {
279- return $ this ->follow ($ targetFeedSlug , $ targetUserId , $ activityCopyLimit );
280- }
281-
282266 /**
283267 * @param int $offset
284268 * @param int $limit
@@ -333,36 +317,6 @@ public function unfollow($targetFeedSlug, $targetUserId, $keepHistory = false)
333317 return $ this ->makeHttpRequest ("{$ this ->base_feed_url }/follows/ {$ targetFeedId }/ " , 'DELETE ' , null , $ queryParams , 'follower ' , 'delete ' );
334318 }
335319
336- /**
337- * @deprecated Will be removed in version 3.0.0
338- *
339- * @param string $targetFeedSlug
340- * @param string $targetUserId
341- * @param bool $keepHistory
342- *
343- * @return mixed
344- *
345- * @throws StreamFeedException
346- */
347- public function unfollowFeed ($ targetFeedSlug , $ targetUserId , $ keepHistory = false )
348- {
349- return $ this ->unfollow ($ targetFeedSlug , $ targetUserId , $ keepHistory );
350- }
351-
352- /**
353- * @deprecated Will be removed in version 3.0.0
354- *
355- * No need to clean up, one should just use different feed ids.
356- *
357- * @return mixed
358- *
359- * @throws StreamFeedException
360- */
361- public function delete ()
362- {
363- return $ this ->makeHttpRequest ("{$ this ->base_feed_url }/ " , 'DELETE ' , null , null , 'feed ' , 'delete ' );
364- }
365-
366320 /**
367321 * @param string $foreign_id
368322 * @param string $time
0 commit comments