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/grade/report/singleview/classes/local/screen/screen.php

    r136 r1331  
    201201     */
    202202    public function heading() {
    203         return get_string('pluginname', 'gradereport_singleview');
     203        return get_string('entrypage', 'gradereport_singleview');
    204204    }
    205205
     
    330330            }
    331331
     332            // If the user submits Exclude grade elements without the proper.
     333            // permissions then we should refuse to update.
     334            if ($matches[1] === 'exclude' && !has_capability('moodle/grade:manage', $this->context)){
     335                $warnings[] = get_string('nopermissions', 'error', get_string('grade:manage', 'role'));
     336                continue;
     337            }
     338
    332339            $msg = $element->set($posted);
    333340
Note: See TracChangeset for help on using the changeset viewer.