disable plugin update checking if CHECK_FOR_UPDATES is disabled
This commit is contained in:
parent
85f411d688
commit
d821e4b090
|
@ -900,7 +900,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||||
}
|
}
|
||||||
</script>
|
</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">
|
<script type="dojo/method" event="onShow" args="evt">
|
||||||
Helpers.Plugins.checkForUpdate();
|
Helpers.Plugins.checkForUpdate();
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue