MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported

This commit is contained in:
Petr Skoda 2009-11-04 19:24:12 +00:00
parent e3acc8af7a
commit 0ac940b3bf
64 changed files with 92 additions and 124 deletions

View file

@ -15,7 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
$gradeimport_csv_capabilities = array(
$capabilities = array(
'gradeimport/csv:view' => array(
'captype' => 'write',

View file

@ -15,7 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
$gradeimport_xml_capabilities = array(
$capabilities = array(
'gradeimport/xml:view' => array(
'captype' => 'write',