From 9778dae374b10a825b8e500e36958b92a6b4e9ad Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 26 Mar 2011 22:28:32 +0100 Subject: [PATCH] MDL-26985 make sure admins do not upgrade to 2.1dev accidentally We already have the new maturity warning in the upgrade page but we are not changing versions yet, we should better give admins one extra chance to go back to latest 2.0.2+ stable. --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index 7c3472d464b..e943f435ec3 100644 --- a/index.php +++ b/index.php @@ -88,6 +88,9 @@ $PAGE->set_heading($SITE->fullname); echo $OUTPUT->header(); + //TODO: remove this notice once admins know they need to switch CVS and git branches, the reason is once we start changing DB there will not be any way back! + echo $OUTPUT->box('WARNING: this site is using 2.1dev codebase, please make sure this is is not a production server!!!', 'errorbox'); + /// Print Section if ($SITE->numsections > 0) { -- 2.43.0