diff --git a/src/actions.ts b/src/actions.ts index 658b97e37..0d2553429 100644 --- a/src/actions.ts +++ b/src/actions.ts @@ -62,7 +62,6 @@ export default class ActionCreator extends BaseActionCreator { static readonly CUSTOM_LISTS_FOR_BOOK = "CUSTOM_LISTS_FOR_BOOK"; static readonly EDIT_CUSTOM_LISTS_FOR_BOOK = "EDIT_CUSTOM_LISTS_FOR_BOOK"; static readonly CIRCULATION_EVENTS = "CIRCULATION_EVENTS"; - // static readonly STATS = "STATS"; static readonly LIBRARIES = "LIBRARIES"; static readonly EDIT_LIBRARY = "EDIT_LIBRARY"; static readonly DELETE_LIBRARY = "DELETE_LIBRARY"; @@ -162,11 +161,6 @@ export default class ActionCreator extends BaseActionCreator { static readonly CIRCULATION_EVENTS_FAILURE = "CIRCULATION_EVENTS_FAILURE"; static readonly CIRCULATION_EVENTS_LOAD = "CIRCULATION_EVENTS_LOAD"; - // static readonly STATS_REQUEST = "STATS_REQUEST"; - // static readonly STATS_SUCCESS = "STATS_SUCCESS"; - // static readonly STATS_FAILURE = "STATS_FAILURE"; - // static readonly STATS_LOAD = "STATS_LOAD"; - static readonly CHANGE_PASSWORD = "CHANGE_PASSWORD"; static readonly GET_SELF_TESTS = "GET_SELF_TESTS"; @@ -423,11 +417,6 @@ export default class ActionCreator extends BaseActionCreator { ).bind(this); } - // fetchStatistics() { - // const url = "/admin/stats"; - // return this.fetchJSON(ActionCreator.STATS, url).bind(this); - // } - fetchLibraries() { const url = "/admin/libraries"; return this.fetchJSON(ActionCreator.LIBRARIES, url).bind(