From 1403a76b809371b49aacab2b40b0fadb488e8810 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Wed, 8 Nov 2023 14:50:15 -0800 Subject: [PATCH] fix: downgrade remove erroneous file_get_contents --- .../local/emhttp/plugins/dynamix.plugin.manager/Downgrade.page | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.plugin.manager/Downgrade.page b/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.plugin.manager/Downgrade.page index f61c473c4..b2350cda4 100644 --- a/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.plugin.manager/Downgrade.page +++ b/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.plugin.manager/Downgrade.page @@ -19,7 +19,6 @@ $rebootVersion = $rebootDetails->getRebootVersion(); $restoreVersion = $restoreBranch = $restoreVersionReleaseDate = 'unknown'; $restoreExists = file_exists('/boot/previous/bzroot'); $restoreChangelogPath = '/boot/previous/changes.txt'; -$restoreChangelogContent = file_get_contents($restoreChangelogPath); $serverNameEscaped = htmlspecialchars(str_replace(' ', '_', strtolower($var['NAME'])));