1
0
mirror of https://github.com/moodle/moodle.git synced 2025-05-16 05:00:01 +02:00

NOBUG: Use correct cap name

This commit is contained in:
Eloy Lafuente 2010-04-30 08:34:53 +00:00
parent 7969834463
commit dec2c30c0a

@ -388,7 +388,7 @@ class file_browser {
}
$downloadable = has_capability('moodle/backup:downloadfile', $context);
$uploadable = has_capability('moodle/backup:uploadfile', $context);
$uploadable = has_capability('moodle/restore:uploadfile', $context);
return new file_info_stored($this, $context, $storedfile, $urlbase, get_string('areabackup', 'repository'), false, $downloadable, $uploadable, false);
}