MDL-32251 add missing spikephpcoverage modification info, improve coding style in competionlib

This commit is contained in:
Petr Skoda
2012-04-03 07:59:39 +02:00
parent c9c2027332
commit 4218d813bf
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -573,7 +573,7 @@ class completion_info {
$this->internal_systemerror("Unexpected result: multiple grades for
item '{$item->id}', user '{$userid}'");
}
$newstate = $this->internal_get_grade_state($item, reset($grades));
$newstate = self::internal_get_grade_state($item, reset($grades));
if ($newstate == COMPLETION_INCOMPLETE) {
return COMPLETION_INCOMPLETE;
}
+1
View File
@@ -20,5 +20,6 @@ Our changes: /// Look for "moodle" in code
* removed deprecated "=& new"
* src/phpcoverage.remote.bottom.inc.php | => Prevent execution (not used and unsecure)
src/phpcoverage.remote.top.inc.php |
* E_STRICT fix - add static to "public function getLogger" in /src/src/util/Utility.php
20090621 - Eloy Lafuente (stronk7): Original import of 0.8.2 release