mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor improvements (#1676)
* Minor improvements * Update functions.php * Update common.php * Update init_bb.php * Updated * Update build_files_integrity.php * Updated * Update CHANGELOG.md * Update legacy-changes.txt * Update legacy-changes.txt * Update legacy-changes.txt * Update .gitignore * Update legacy-changes.txt
This commit is contained in:
parent
e1f03e64dd
commit
4dcee993cc
9 changed files with 55 additions and 94 deletions
|
@ -2154,11 +2154,7 @@ function readUpdaterFile(): array|bool
|
|||
return false;
|
||||
}
|
||||
|
||||
$decodedFile = json_decode(file_get_contents(UPDATER_FILE), true);
|
||||
return [
|
||||
'previous_version' => $decodedFile['previous_version'],
|
||||
'latest_version' => $decodedFile['latest_version']
|
||||
];
|
||||
return json_decode(file_get_contents(UPDATER_FILE), true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue