From: David Mudrak Date: Tue, 24 Nov 2009 15:09:48 +0000 (+0000) Subject: get_string() performance tester: small formal fixes X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4efff581eb10cf1aa7611564566a1c82f6b96ae3;p=moodle.git get_string() performance tester: small formal fixes --- diff --git a/lib/simpletest/getstringperformancetester.php b/lib/simpletest/getstringperformancetester.php index 962be2edbf..7baef4106f 100644 --- a/lib/simpletest/getstringperformancetester.php +++ b/lib/simpletest/getstringperformancetester.php @@ -28,7 +28,7 @@ * * @license http://www.gnu.org/copyleft/gpl.html GNU Public License * @package moodlecore - *//** */ + */ require_once(dirname(__FILE__) . '/../../config.php'); require_once($CFG->libdir . '/moodlelib.php'); @@ -44,6 +44,7 @@ $title = 'get_string performance test'; $PAGE->navbar->add($title); $PAGE->set_title($title); $PAGE->set_heading($title); +$PAGE->set_url('lib/simpletest/getstringperformancetester.php'); echo $OUTPUT->header(); $installedlangs = get_list_of_languages(); @@ -113,7 +114,7 @@ echo $OUTPUT->footer(); */ function time_log_file($filename) { global $CFG, $OUTPUT; - echo $OUTPUT->heading("Playing back calls from $filename", '', 3); + echo $OUTPUT->heading("Playing back calls from $filename", 3); $fullpath = $CFG->libdir . '/simpletest/get_string_fixtures/pagelogs/' . $filename; for ($i = 0; $i < NUM_REPITITIONS; ++$i) { set_time_limit(60);