Skip to content
Browse files

Merged from MOODLE_14_STABLE - Fixed memory limit overrun in backup c…

…onfig page. Why SELECT * FROM mdl_course when all we need is id? :)
  • Loading branch information...
1 parent 6e0c7c2 commit 64169fe6a0e43ddc151a18f4d0d2ddecd2672f38 martinlanghoff committed Mar 14, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/backup.php
View
2 admin/backup.php
@@ -73,7 +73,7 @@
}
if ($status) {
//get courses
- if ($courses = get_records("course")) {
+ if ($courses = get_records('course', '', '', '', 'id,shortname')) {
//For each course, we check (insert, update) the backup_course table
//with needed data
foreach ($courses as $course) {

0 comments on commit 64169fe

Please sign in to comment.
Something went wrong with that request. Please try again.