-
Bug
-
Resolution: Fixed
-
Minor
-
2.1
-
xhprof installed and enabled in config.php installing from scratch.
-
Any
-
MOODLE_21_STABLE
-
MOODLE_21_STABLE
-
prevent_profiling_before_install
-
Moderate
-
Right now, although highly improbable in real sites, it is possible to enable and configure profiling runs from the config.php.
When the profiling run ends, it sends results to database ('profiling' table). And it can be missing on early installation stages.
The fix simply checks if the table already exists, guarantying that no database operation will happen if missing.