mirror of
https://github.com/unraid/api.git
synced 2026-05-06 15:11:44 -05:00
fix: downgrade remove erroneous file_get_contents
This commit is contained in:
-1
@@ -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'])));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user