dict, lazy_set: Rename del method to delete, for consistency with Map.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-02-02 22:41:38 -08:00
committed by Tim Abbott
parent 0e657756f1
commit fe54e73c77
19 changed files with 45 additions and 45 deletions

View File

@@ -51,7 +51,7 @@ exports.get_status_text = function (user_id) {
exports.set_status_text = function (opts) {
if (!opts.status_text) {
user_info.del(opts.user_id);
user_info.delete(opts.user_id);
return;
}