From a55d1df585998bdcba03afe38dd60777e9aad030 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 16 Apr 2015 00:22:09 +0200 Subject: [PATCH] Clearer warning message on non-existing file --- scripts/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade.php b/scripts/upgrade.php index 692eaac17a..126ef29036 100644 --- a/scripts/upgrade.php +++ b/scripts/upgrade.php @@ -520,7 +520,7 @@ function setFilehashOnLocalFiles() $file->filehash = hash_file(File::FILEHASH_ALG, $file->getPath()); $file->update($orig); } catch (FileNotFoundException $e) { - echo "\n WARNING: file ID {$file->id} does not exist on path '{$e->path}'. Clean up the file table?"; + echo "\n WARNING: file ID {$file->id} does not exist on path '{$e->path}'. If there is no file system error, run: php scripts/clean_file_table.php"; } } } -- 2.39.5