disable plugin update checking if CHECK_FOR_UPDATES is disabled

This commit is contained in:
Andrew Dolgov 2021-02-27 17:40:17 +03:00
parent 85f411d688
commit d821e4b090
1 changed files with 1 additions and 1 deletions

View File

@ -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>