mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-55504 profiling: No profiling for PHPUNIT_UTIL stuff
This commit is contained in:
parent
1e1fa3a23e
commit
30fbc3ecab
1 changed files with 1 additions and 1 deletions
|
@ -865,7 +865,7 @@ class moodle_xhprofrun implements iXHProfRuns {
|
||||||
|
|
||||||
$DB->insert_record('profiling', $rec);
|
$DB->insert_record('profiling', $rec);
|
||||||
|
|
||||||
if (PHPUNIT_TEST) {
|
if (PHPUNIT_TEST && !PHPUNIT_UTIL) {
|
||||||
// Calculate export variables.
|
// Calculate export variables.
|
||||||
$tempdir = 'profiling';
|
$tempdir = 'profiling';
|
||||||
make_temp_directory($tempdir);
|
make_temp_directory($tempdir);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue