Now scheduled bakup checks for required XML functions to work.

Bug 1432. Closed now... :-)
(http://moodle.org/bugs/bug.php?op=show&bugid=1432)
This commit is contained in:
stronk7
2004-05-20 15:19:19 +00:00
parent 1029856e40
commit 2f29ee130c
+6
View File
@@ -40,6 +40,12 @@ function cron_rss_feeds () {
echo " Generating rssfeeds...\n";
//Check for required functions...
if(!function_exists('utf8_encode')) {
echo " ERROR: You need to add XML support to your PHP installation!\n";
return true;
}
if ($allmods = get_records("modules") ) {
foreach ($allmods as $mod) {
echo ' '.$mod->name.': ';