mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
bot_data: Rename delete to del.
`delete` is a reserved keyword that would interfere with the migration to an ES6 module. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Tim Abbott
parent
b8839302c0
commit
bde31a54c7
@@ -42,7 +42,7 @@ var bot_data = (function () {
|
||||
send_change_event();
|
||||
};
|
||||
|
||||
exports.delete = function bot_data__delete(bot_id) {
|
||||
exports.del = function bot_data__del(bot_id) {
|
||||
delete bots[bot_id];
|
||||
delete services[bot_id];
|
||||
send_change_event();
|
||||
|
||||
Reference in New Issue
Block a user