mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:19:27 +08:00
DEV: drop unused method (#15190)
There are no usages in Core and plugins. The last usage was removed in https://github.com/discourse/discourse/pull/9369.
This commit is contained in:
parent
28bf9599f5
commit
ce074d118e
|
@ -1,7 +1,6 @@
|
|||
import RawHtml from "discourse/widgets/raw-html";
|
||||
import { iconHTML } from "discourse-common/lib/icon-library";
|
||||
import QuickAccessPanel from "discourse/widgets/quick-access-panel";
|
||||
import UserAction from "discourse/models/user-action";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import { createWidget, createWidgetFrom } from "discourse/widgets/widget";
|
||||
import { h } from "virtual-dom";
|
||||
|
@ -72,14 +71,4 @@ createWidgetFrom(QuickAccessPanel, "quick-access-bookmarks", {
|
|||
({ user_bookmark_list }) => user_bookmark_list.bookmarks
|
||||
);
|
||||
},
|
||||
|
||||
loadUserActivityBookmarks() {
|
||||
return ajax("/user_actions.json", {
|
||||
data: {
|
||||
username: this.currentUser.username,
|
||||
filter: UserAction.TYPES.bookmarks,
|
||||
no_results_help_key: "user_activity.no_bookmarks",
|
||||
},
|
||||
}).then(({ user_actions }) => user_actions);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user