]> git.mjollnir.org Git - moodle.git/commitdiff
fixed missing return in assign_role()
authorskodak <skodak>
Sun, 3 Sep 2006 07:29:06 +0000 (07:29 +0000)
committerskodak <skodak>
Sun, 3 Sep 2006 07:29:06 +0000 (07:29 +0000)
lib/accesslib.php

index a7101a7477a31bb928b8602c8ed42fc38e75bd44..b3a9b7b3b7f718afa3d0480bbc10a9d5b1a1ee4a 100755 (executable)
@@ -1198,6 +1198,8 @@ function role_assign($roleid, $userid, $groupid, $contextid, $timestart=0, $time
     if ($success && !empty($USER->id) && $USER->id == $userid) {
         load_user_capability();
     }
+
+    return $success;
 }