Removed use of assert function for session objects.

This commit is contained in:
thepurpleblob
2005-06-09 13:58:41 +00:00
parent 3608b0f6f5
commit 382c50809b
+3 -2
View File
@@ -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