Skip to content

Commit

Permalink
Removed use of assert function for session objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
thepurpleblob committed Jun 9, 2005
1 parent 3608b0f commit 382c508
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backup/restore_check.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
}

// check for session objects
assert_var_set( $info, 'info' );
assert_var_set( $course_header, 'course_header' );
if (empty($info)) or empty($course_info)) {
error( 'important information missing from SESSION' );
}

//If the restore object doesn't exist, we are going
//to check every variable individually and create it
Expand Down

0 comments on commit 382c508

Please sign in to comment.