Skip to content

A free, self-hostable news aggregator…

Honor "disable update" on index page (#7733)

Alexandre Alapetite8a44d1045a49
diff --git a/app/views/update/index.phtml b/app/views/update/index.phtml
index 63d7cca75..3bebb2a79 100644
--- a/app/views/update/index.phtml
+++ b/app/views/update/index.phtml
@@ -48,6 +48,7 @@
</div>
</div>
+ <?php if (!FreshRSS_Context::systemConf()->disable_update): ?>
<div class="form-group">
<label class="group-name"><?= _t('admin.update.last') ?></label>
<div class="group-controls">
@@ -73,4 +74,5 @@
</div>
</div>
<?php } ?>
+ <?php endif; ?>
</main>