Commit 2171fcb8 authored by Kristina Hoeppner's avatar Kristina Hoeppner Committed by Kristina Hoeppner
Browse files

Bug 1760766: Go to latest manual when in RC stage

When we have the Mahara release candidate, all links
to the user manual should go to the upcoming stable
release instead of the latest stable release.

behatnotneeded

Change-Id: I951c3e9e7af845bba542f1446f1e3cfb8af5b2b3
parent 087cb93d
......@@ -119,7 +119,7 @@ function _get_manual_language() {
function _get_mahara_version() {
$release = get_config("release");
$series = get_config("series");
if (preg_match('/dev$/', $release) || preg_match('/rc/', $release)) {
if (preg_match('/dev$/', $release)) {
list($year, $month) = explode('.', $series);
if ($month == '04') {
$month = '10';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment