MDL-35429 restore: capability clarification for automated backups
authorJake Dallimore <jake@moodle.com>
Wed, 20 Sep 2017 07:52:50 +0000 (15:52 +0800)
committerJake Dallimore <jake@moodle.com>
Mon, 9 Oct 2017 02:29:07 +0000 (10:29 +0800)
commitf2faf9fae6ddeddb0baaef279aaa0d60917b7e9d
tree1654468a086c38ea82f5efaff6f5df917146bec3
parentd8e9a23c48455d9e6a5b544f7782fe22bd1101a6
MDL-35429 restore: capability clarification for automated backups

- added relevant cap check on restorefile.php to improve the error
message when attempting to restore automated backups. This cap is
already responsible for controlling restores from automated areas.
- Restored the 'viewautomatedfilearea' capabilities original lang
string.
backup/restorefile.php
lang/en/role.php