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