getVersionById($version); $_SESSION['CurrentDatabase'] = $versionData["dbName"]; $_SESSION['VERSION'] = $version; return ["success" => true]; } }