Skip to content
  • David Mudrák's avatar
    56aee7c2
    MDL-38497 Fix invalid $ADMIN->add() calls · 56aee7c2
    David Mudrák authored
    As the admin_category::add() method now checks for the third parameter,
    couple of typos were detected in the code. Additional parameters passed
    to the add() method were probably a mistake, a relict or a typo.
    
    Note that the typo in admin/tool/unsuproles/settings.php had actually
    significant impact on the functionality as the array with required
    capabilities was not actually passed to the admin_externalpage
    constructor as intended.
    56aee7c2
    MDL-38497 Fix invalid $ADMIN->add() calls
    David Mudrák authored
    As the admin_category::add() method now checks for the third parameter,
    couple of typos were detected in the code. Additional parameters passed
    to the add() method were probably a mistake, a relict or a typo.
    
    Note that the typo in admin/tool/unsuproles/settings.php had actually
    significant impact on the functionality as the array with required
    capabilities was not actually passed to the admin_externalpage
    constructor as intended.
Loading