From 2fa2768d143a6d7c4c48fe57ef1baf042ce1f010 Mon Sep 17 00:00:00 2001 From: Helianthropy <21966739+Helianthropy@users.noreply.github.com> Date: Sun, 7 Jun 2026 04:44:26 -0700 Subject: [PATCH] Update Updater.php Clarifies error message to reference update directory setting. Signed-off-by: Helianthropy <21966739+Helianthropy@users.noreply.github.com> --- lib/Updater.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Updater.php b/lib/Updater.php index 96322949..5bd6eefc 100644 --- a/lib/Updater.php +++ b/lib/Updater.php @@ -60,9 +60,10 @@ public function __construct( } } + //check for update or data directories $dataDir = $this->getUpdateDirectoryLocation(); if ($dataDir === '' || $dataDir === '0') { - throw new \Exception('Could not read data directory from config.php.'); + throw new \Exception('Could not read update or data directory from config.php.'); } $versionFileName = $this->nextcloudDir . '/version.php';