projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d6df68
)
Use non-deprecated method in Webservices script
author
Frederic Massart
<fred@moodle.com>
Tue, 21 Oct 2014 05:44:55 +0000
(13:44 +0800)
committer
Frederic Massart
<fred@moodle.com>
Tue, 21 Oct 2014 05:44:55 +0000
(13:44 +0800)
mdk/scripts/webservices.php
patch
|
blob
|
history
diff --git
a/mdk/scripts/webservices.php
b/mdk/scripts/webservices.php
index
d7fe5f4
..
29d4534
100644
(file)
--- a/
mdk/scripts/webservices.php
+++ b/
mdk/scripts/webservices.php
@@
-47,7
+47,7
@@
$capabilities = fetch_context_capabilities($context);
foreach ($capabilities as $capability) {
assign_capability($capability->name, CAP_ALLOW, $roleid, $context->id, true);
}
-
mark_context_dirty($context->path
);
+
$context->mark_dirty(
);
// Create a new service with all functions for the user.
$webservicemanager = new webservice();