mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
removed some unecessary comments
This commit is contained in:
parent
2d9965e1dc
commit
7adb975062
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
||||||
* @package lesson
|
* @package lesson
|
||||||
* @todo Clean up this code!
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
require_once('../../config.php');
|
require_once('../../config.php');
|
||||||
|
@ -156,7 +155,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if ($lesson->highscores and !$lesson->practice and !optional_param('viewed', 0) and empty($pageid)) { // TODO: THIS DOES NOT WORK!!!!
|
} else if ($lesson->highscores and !$lesson->practice and !optional_param('viewed', 0) and empty($pageid)) {
|
||||||
// Display high scores before starting lesson
|
// Display high scores before starting lesson
|
||||||
redirect("$CFG->wwwroot/mod/lesson/highscores.php?id=$cm->id");
|
redirect("$CFG->wwwroot/mod/lesson/highscores.php?id=$cm->id");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue