Deprecate Zotero.Utilities.Internal.quitZotero() in favor of quit()
This commit is contained in:
parent
695dd4e65d
commit
a9594360cd
|
@ -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]
|
* @param {Boolean} [restart=false]
|
||||||
*/
|
*/
|
||||||
quitZotero: function(restart=false) {
|
quit: function(restart=false) {
|
||||||
var startup = Services.startup;
|
var startup = Services.startup;
|
||||||
if (restart) {
|
if (restart) {
|
||||||
Zotero.restarting = true;
|
Zotero.restarting = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user