Skip to content

Commit

Permalink
Remove quick hack to increase memory limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
srobotta committed Oct 17, 2024
1 parent e7b81ab commit 4b6bb46
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions edit_instance.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@

require_login($course, true, $cm);

// Quick hack for issue #43.
ini_set('memory_limit', '256M');

$instancerepository = new instance_repository();

if (!$instance = $instancerepository->get_by_id($cm->instance)) {
Expand Down
3 changes: 0 additions & 3 deletions questionnaire.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@

require_login($course, true, $cm);

// Quick hack for issue #43.
ini_set('memory_limit', '256M');

$context = context_module::instance($cm->id);
$instancerepository = new instance_repository();
$submissionrepository = new submission_repository();
Expand Down
3 changes: 0 additions & 3 deletions report.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@

require_login($course, true, $cm);

// Quick hack for issue #43.
ini_set('memory_limit', '256M');

$context = context_module::instance($cm->id);

$instancerepo = new instance_repository();
Expand Down
3 changes: 0 additions & 3 deletions report_download.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@
throw new moodle_exception('errorreportnotavailable', 'mod_verbalfeedback');
}

// Quick hack for issue #43.
ini_set('memory_limit', '256M');

$PAGE->set_context($context);
$PAGE->set_cm($cm, $course);
$PAGE->set_pagelayout('incourse');
Expand Down
3 changes: 0 additions & 3 deletions view.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@

$instancerepository = new instance_repository();

// Quick hack for issue #43.
ini_set('memory_limit', '256M');

$context = context_module::instance($cm->id);

$instance = $instancerepository->get_by_id($cm->instance);
Expand Down

0 comments on commit 4b6bb46

Please sign in to comment.