diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-02-17 09:34:01 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-02-18 08:53:57 +0100 |
commit | 6ce469132c80a5a5cc45b1e7e215f43b538afd93 (patch) | |
tree | dbb295d5d2fe16e4c71a930c979f3897a4fd5c45 /apps/updatenotification/templates | |
parent | d4b99c81f32453f57cb2c132fa46c6b5219b9e99 (diff) | |
download | nextcloud-server-6ce469132c80a5a5cc45b1e7e215f43b538afd93.tar.gz nextcloud-server-6ce469132c80a5a5cc45b1e7e215f43b538afd93.zip |
Hide updater button when web updater is disabled
Whenever the web updater is disabled, the updater button and its
matching token requesting endpoints are disabled.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/updatenotification/templates')
-rw-r--r-- | apps/updatenotification/templates/admin.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php index 24a83184ccd..44bdb0375fe 100644 --- a/apps/updatenotification/templates/admin.php +++ b/apps/updatenotification/templates/admin.php @@ -9,6 +9,5 @@ declare(strict_types=1); * later. See the COPYING file. */ script('updatenotification', 'updatenotification'); -/** @var array $_ */ -?> + /** @var array $_ */ ?> <div id="updatenotification" data-json="<?php p($_['json']); ?>"></div> |