From 294c03a9962cd63de3b141a7de6eda78b5691992 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Wed, 17 Dec 2008 00:33:32 +0000 Subject: [PATCH] MDL-17647 accesslib - cleaning some candoanything in comments. Merged from 19_STABLE --- lib/accesslib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/accesslib.php b/lib/accesslib.php index 576e3f60d5..ba6b9507e8 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -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; -- 2.39.5