disable plugin update checking if CHECK_FOR_UPDATES is disabled

master
Andrew Dolgov 4 years ago
parent 85f411d688
commit d821e4b090

@ -900,7 +900,7 @@ class Pref_Prefs extends Handler_Protected {
}
</script>
<?php if ($_SESSION["access_level"] >= 10) { ?>
<?php if (Config::get(Config::CHECK_FOR_UPDATES) && $_SESSION["access_level"] >= 10) { ?>
<script type="dojo/method" event="onShow" args="evt">
Helpers.Plugins.checkForUpdate();
</script>

Loading…
Cancel
Save