From: jerome Date: Tue, 24 Feb 2009 07:54:33 +0000 (+0000) Subject: web service MDL-12886 fix capability name X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=386f206787e91e5797c93e49bcbbe316b8d02175;p=moodle.git web service MDL-12886 fix capability name --- diff --git a/lib/adminlib.php b/lib/adminlib.php index 8416b8b30c..961cda233f 100644 --- a/lib/adminlib.php +++ b/lib/adminlib.php @@ -4947,7 +4947,7 @@ class admin_setting_managewsusersettings extends admin_setting { $table->data = array(); foreach ($users as $user) { - if (has_capability("moodle/site:usewebservice",get_system_context(), $user->id)) { //test if the users has has_capability('use_webservice') + if (has_capability("moodle/site:usewebservices",get_system_context(), $user->id)) { //test if the users has has_capability('use_webservice') $wsusersetting = ' ' . get_string("settings") .'' . "\n";