Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/badges/criteria_action.php

    r136 r1331  
    6262
    6363if ($delete && has_capability('moodle/badges:configurecriteria', $context)) {
     64    if ($type == BADGE_CRITERIA_TYPE_OVERALL) {
     65        redirect($return, get_string('error:cannotdeletecriterion', 'badges'));
     66    }
    6467    if (!$confirm) {
    6568        $optionsyes = array('confirm' => 1, 'sesskey' => sesskey(), 'badgeid' => $badgeid, 'delete' => true, 'type' => $type);
Note: See TracChangeset for help on using the changeset viewer.