File tree 1 file changed +0
-25
lines changed
browser/components/pocket/content
1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -474,30 +474,6 @@ export var pktApi = (function () {
474
474
} ) ;
475
475
}
476
476
477
- /**
478
- * Gets a list of related recommendations for the item
479
- * @param {string } itemId Item id of item
480
- * @param {Object | undefined } options Can provide a string-based title, a
481
- * `success` callback and an `error` callback.
482
- * @return {Boolean } Returns Boolean whether the api call started sucessfully
483
- */
484
- function getRecsForItem ( itemId , options ) {
485
- return apiRequest ( {
486
- path : "/discover/recIt" ,
487
- data : {
488
- item_id : itemId ,
489
- module : "ff_plugin" ,
490
- count : 3 ,
491
- } ,
492
- success ( data ) {
493
- if ( options . success ) {
494
- options . success . apply ( options , Array . apply ( null , arguments ) ) ;
495
- }
496
- } ,
497
- error : options . error ,
498
- } ) ;
499
- }
500
-
501
477
/**
502
478
* Get a preview for saved URL
503
479
* @param {string } url URL of the link
@@ -907,7 +883,6 @@ export var pktApi = (function () {
907
883
isUserLoggedIn,
908
884
clearUserData,
909
885
addLink,
910
- getRecsForItem,
911
886
deleteItem,
912
887
archiveItem,
913
888
addTagsToItem,
You can’t perform that action at this time.
0 commit comments