Index: lib/updater.js |
=================================================================== |
--- a/lib/updater.js |
+++ b/lib/updater.js |
@@ -36,6 +36,10 @@ |
function getDownloadable(forceCheck) |
{ |
+ if (!forceCheck && Pref.disable_auto_updates) |
Eric
2015/06/19 15:23:37
This comment is actually in response to a previous
Felix Dahlke
2015/06/22 07:33:58
I suppose this was named in line with "suppress_fi
Oleksandr
2015/06/22 07:47:11
By this logic, we'll also have to rename the suppr
Eric
2015/06/25 17:44:40
That's right.
|
+ { |
+ return null; |
+ } |
let url = updateUrl.replace(/%TYPE%/g, forceCheck ? TYPE_MANUAL : TYPE_AUTOMATIC); |
let downloadable = new Downloadable(url); |
downloadable.lastError = Prefs.update_last_error; |