Skip to content

Commit 966eebb

Browse files
committed
patch: remove unnecessary api interface
1 parent 579b3be commit 966eebb

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/amplitude-client.js

-17
Original file line numberDiff line numberDiff line change
@@ -2114,21 +2114,4 @@ AmplitudeClient.prototype.setServerUrl = function setServerUrl(serverUrl) {
21142114
}
21152115
};
21162116

2117-
/**
2118-
* Upload all unsent events.
2119-
* @public
2120-
* @example amplitudeClient.uploadEvents();
2121-
*/
2122-
AmplitudeClient.prototype.uploadEvents = function uploadEvents() {
2123-
if (this._shouldDeferCall()) {
2124-
return this._q.push(['uploadEvents'].concat(Array.prototype.slice.call(arguments, 0)));
2125-
}
2126-
2127-
try {
2128-
this.sendEvents();
2129-
} catch (e) {
2130-
utils.log.error(e);
2131-
}
2132-
};
2133-
21342117
export default AmplitudeClient;

0 commit comments

Comments
 (0)