mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-55504 profiling: No profiling for PHPUNIT_UTIL stuff
This commit is contained in:
parent
1e1fa3a23e
commit
30fbc3ecab
@ -865,7 +865,7 @@ class moodle_xhprofrun implements iXHProfRuns {
|
||||
|
||||
$DB->insert_record('profiling', $rec);
|
||||
|
||||
if (PHPUNIT_TEST) {
|
||||
if (PHPUNIT_TEST && !PHPUNIT_UTIL) {
|
||||
// Calculate export variables.
|
||||
$tempdir = 'profiling';
|
||||
make_temp_directory($tempdir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user