]> git.mjollnir.org Git - moodle.git/commitdiff
admins should not need course:view
authortoyomoyo <toyomoyo>
Mon, 2 Apr 2007 02:37:34 +0000 (02:37 +0000)
committertoyomoyo <toyomoyo>
Mon, 2 Apr 2007 02:37:34 +0000 (02:37 +0000)
lib/db/access.php

index 8014be6c5df115f10a1e0e3b2c78c526a0c16200..fb2284bae9c8730965af42dfb1ab4dce60741075 100644 (file)
@@ -466,8 +466,7 @@ $moodle_capabilities = array(
             'guest' => CAP_ALLOW,
             'student' => CAP_ALLOW,
             'teacher' => CAP_ALLOW,
-            'editingteacher' => CAP_ALLOW,
-            'admin' => CAP_ALLOW
+            'editingteacher' => CAP_ALLOW
         )
     ),