diff options
Diffstat (limited to 'webapp/client/client.jsx')
-rw-r--r-- | webapp/client/client.jsx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/webapp/client/client.jsx b/webapp/client/client.jsx index c1a9d2f85..6e04b1f7a 100644 --- a/webapp/client/client.jsx +++ b/webapp/client/client.jsx @@ -1562,18 +1562,6 @@ export default class Client { this.trackEvent('api', 'api_channel_get', {team_id: this.getTeamId(), channel_id: channelId}); } - // SCHEDULED FOR DEPRECATION IN 3.7 - use getMoreChannelsPage instead - getMoreChannels(success, error) { - request. - get(`${this.getChannelsRoute()}/more`). - set(this.defaultHeaders). - type('application/json'). - accept('application/json'). - end(this.handleResponse.bind(this, 'getMoreChannels', success, error)); - - this.trackEvent('api', 'api_channels_more', {team_id: this.getTeamId()}); - } - getMoreChannelsPage(offset, limit, success, error) { request. get(`${this.getChannelsRoute()}/more/${offset}/${limit}`). |