Permalink
Browse files

lib/accesslib.php MDL-25709 - fix docs

  • Loading branch information...
1 parent c63ebd4 commit 047c3b6cd31a89eb9dc4fd25c696626eed969e15 @danpoltawski danpoltawski committed Jan 3, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/accesslib.php
View
@@ -4459,7 +4459,7 @@ function get_user_roles($context, $userid = 0, $checkparentcontexts = true, $ord
*
* @param int $sroleid source roleid
* @param int $troleid target roleid
- * @return int id or false
+ * @return void
*/
function allow_override($sroleid, $troleid) {
global $DB;
@@ -4475,7 +4475,7 @@ function allow_override($sroleid, $troleid) {
*
* @param int $sroleid source roleid
* @param int $troleid target roleid
- * @return int id or false
+ * @return void
*/
function allow_assign($fromroleid, $targetroleid) {
global $DB;
@@ -4491,7 +4491,7 @@ function allow_assign($fromroleid, $targetroleid) {
*
* @param int $sroleid source roleid
* @param int $troleid target roleid
- * @return int id or false
+ * @return void
*/
function allow_switch($fromroleid, $targetroleid) {
global $DB;

0 comments on commit 047c3b6

Please sign in to comment.