MDL-45543 availability: Use correct namespace for global classes

This commit is contained in:
Ankit Agarwal
2014-05-20 12:07:39 +12:00
committed by Sam Hemelryk
parent d144e53188
commit 41d178f9da
14 changed files with 46 additions and 46 deletions
@@ -48,8 +48,8 @@ class condition extends \core_availability\condition {
/**
* Constructor.
*
* @param stdClass $structure Data structure from JSON decode
* @throws coding_exception If invalid data structure.
* @param \stdClass $structure Data structure from JSON decode
* @throws \coding_exception If invalid data structure.
*/
public function __construct($structure) {
// Get cmid.
@@ -212,7 +212,7 @@ class condition extends \core_availability\condition {
* Used in course/lib.php because we need to disable the completion JS if
* a completion value affects a conditional activity.
*
* @param stdClass $course Moodle course object
* @param \stdClass $course Moodle course object
* @param int $cmid Course-module id
* @return bool True if this is used in a condition, false otherwise
*/