MDL-46290 Completion: Remove unused function get_incomplete_criteria(), it doesn't work

This commit is contained in:
Ray Morris 2014-07-08 13:09:30 -05:00
parent 5fd0df97c5
commit 3120e06440

View File

@ -477,9 +477,12 @@ class completion_info {
/**
* Get incomplete course completion criteria
*
* @deprecated since Moodle 2.8 MDL-46290.
* @todo MDL-46294 This will be deleted in Moodle 3.0.
* @return array
*/
public function get_incomplete_criteria() {
debugging('completion_info->get_incomplete_criteria() is deprecated.', DEBUG_DEVELOPER);
$incomplete = array();
foreach ($this->get_criteria() as $criteria) {