From: jamiesensei Date: Thu, 30 Nov 2006 08:47:52 +0000 (+0000) Subject: now using disabledIf method in course/edit X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=67906614ad803b7aa7a066742ed4241b48d57ed9;p=moodle.git now using disabledIf method in course/edit --- diff --git a/course/modedit.php b/course/modedit.php index 6dc9dd9964..19b20a7c65 100644 --- a/course/modedit.php +++ b/course/modedit.php @@ -11,7 +11,6 @@ $update = optional_param('update', 0, PARAM_INT); $cancel = optional_param('cancel', 0, PARAM_BOOL); - if ($cancel) { if (!empty($SESSION->returnpage)) { $return = $SESSION->returnpage;