]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17647 accesslib - cleaning some candoanything in comments. Merged from 19_STABLE
authorstronk7 <stronk7>
Wed, 17 Dec 2008 00:33:32 +0000 (00:33 +0000)
committerstronk7 <stronk7>
Wed, 17 Dec 2008 00:33:32 +0000 (00:33 +0000)
lib/accesslib.php

index 576e3f60d5592062b587154c986b8785d6442c88..ba6b9507e8e70ff843651a374d9f3688bc360b30 100755 (executable)
@@ -757,7 +757,7 @@ function has_capability_in_accessdata($capability, $context, $accessdata, $doany
                 if ($can < 1) {
                     if ($doanything) {
                         // didn't find it as an explicit cap,
-                        // but maybe the user candoanything in this context...
+                        // but maybe the user can doanything in this context...
                         return has_capability_in_accessdata('moodle/site:doanything', $context, $accessdata, false);
                     } else {
                         return false;
@@ -850,7 +850,7 @@ function has_capability_in_accessdata($capability, $context, $accessdata, $doany
     if ($can < 1) {
         if ($doanything) {
             // didn't find it as an explicit cap,
-            // but maybe the user candoanything in this context...
+            // but maybe the user can doanything in this context...
             return has_capability_in_accessdata('moodle/site:doanything', $context, $accessdata, false);
         } else {
             return false;