MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup

This commit is contained in:
skodak 2008-08-26 05:45:07 +00:00
parent 3c184e1464
commit 90658eefb0
24 changed files with 84 additions and 48 deletions

View file

@ -252,7 +252,7 @@
events_cron();
mtrace('done.');
if ($CFG->portfolioenabled) {
if ($CFG->enableportfolios) {
// Portfolio cron
mtrace('Starting the portfolio cron...');
require_once($CFG->libdir . '/portfoliolib.php');