Permalink
Browse files

Some debug

  • Loading branch information...
1 parent fb14b23 commit e60e65ab5f2caacf65132e0998a8b11df3cc72a9 stronk7 committed Jun 10, 2003
Showing with 3 additions and 0 deletions.
  1. +3 −0 backup/backuplib.php
View
3 backup/backuplib.php
@@ -38,6 +38,8 @@ function user_check_backup($course,$backup_unique_code,$backup_users) {
global $CFG;
global $db;
+$db->debug=true;
+
$count_users = 0;
//Select all users from user
@@ -94,6 +96,7 @@ function user_check_backup($course,$backup_unique_code,$backup_users) {
$info[0][0] = get_string("users");
$info[0][1] = $count_users;
+$db->debug=false;
return $info;
}

0 comments on commit e60e65a

Please sign in to comment.