Moodle

use $capabilities = array() in db/access.php

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: General
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

at present each access.php sets up array with name "plugintype_pluginname_capabilities", but the rest of similar files is using something like

$capabilitites = array();

We can implement this is a fully BC way...

Activity

Hide
Petr Škoda (skodak) added a comment -

done, all the files like access.php, events.php, messages.php and services.php are naming the definitions the same way...

Show
Petr Škoda (skodak) added a comment - done, all the files like access.php, events.php, messages.php and services.php are naming the definitions the same way...

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: