Log Message:
-----------
remove try clauses -- they didn't work on hosted, and presumably on other older php versions
Modified Files:
--------------
wwmoodle/wwassignment4/moodle/mod/wwassignment:
lib.php
Revision Data
-------------
Index: lib.php
===================================================================
RCS file: /webwork/cvs/system/wwmoodle/wwassignment4/moodle/mod/wwassignment/lib.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lwwassignment4/moodle/mod/wwassignment/lib.php -Lwwassignment4/moodle/mod/wwassignment/lib.php -u -r1.8 -r1.9
--- wwassignment4/moodle/mod/wwassignment/lib.php
+++ wwassignment4/moodle/mod/wwassignment/lib.php
@@ -520,11 +520,11 @@
//wwassignment_refresh_events();
//FIXME: Add a call that updates all grades in all courses
//wwassignment_update_grades(null,0);
- try {
+ //try { // try didn't work on some php systems -- leave it out.
wwassignment_update_dirty_sets();
- } catch (Exception $e) {
- error_log("\n Unable to run wwassignment_update_dirty_sets ".$e->getMessage());
- }
+ //} catch (Exception $e) {
+ //error_log("\n Unable to run wwassignment_update_dirty_sets ".$e->getMessage());
+ //}
error_log("End wwassignment_cron");
return true;
}
|