commit a9594360cd068edd2a5bb0d7eaf2cecb24219b56 parent 695dd4e65db1c6df5a9b3ab15c7ba2be4611b163 Author: Dan Stillman <dstillman@zotero.org> Date: Tue, 25 Jul 2017 02:29:26 -0400 Deprecate Zotero.Utilities.Internal.quitZotero() in favor of quit() Diffstat:
| M | chrome/content/zotero/xpcom/utilities_internal.js | | | 10 | ++++++++-- |
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/utilities_internal.js b/chrome/content/zotero/xpcom/utilities_internal.js @@ -1163,11 +1163,17 @@ Zotero.Utilities.Internal = { }, + quitZotero: function(restart=false) { + Zotero.debug("Zotero.Utilities.Internal.quitZotero() is deprecated -- use quit()"); + this.quit(restart); + }, + + /** - * Quits Zotero, optionally restarting. + * Quits the program, optionally restarting. * @param {Boolean} [restart=false] */ - quitZotero: function(restart=false) { + quit: function(restart=false) { var startup = Services.startup; if (restart) { Zotero.restarting = true;