Skip to content

Commit

Permalink
changed index.php in mod_homework
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSkywalker committed Oct 24, 2024
1 parent 9fc4150 commit b88582e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions server/moodle/mod/homework/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

require_once('../../config.php');
global $DB;

/**
* List of homework in course (Does not work)
*
Expand All @@ -25,6 +22,9 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

require_once('../../config.php');
global $DB;

// The `id` parameter is the course id.
$id = required_param('id', PARAM_INT);

Expand Down
2 changes: 1 addition & 1 deletion server/moodle/mod/homework/tests/modal_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// along with Moodle. If not, see <https://www.gnu.org/licenses/>.

/**
* homework/tests/modalTest.php
* homework/tests/modal_test.php
*
* @package mod_homework
* @copyright 2024, cs-24-sw-5-01 <cs-24-sw-5-01@student.aau.dk>
Expand Down

0 comments on commit b88582e

Please sign in to comment.