summaryrefslogtreecommitdiff
path: root/tests/test_tools/simpletest/reporter.php
diff options
context:
space:
mode:
authorwei <>2006-11-28 23:34:00 +0000
committerwei <>2006-11-28 23:34:00 +0000
commitf4925fce58f1827515ced2c32bb12f2aa977a1f2 (patch)
treeb577eaaf872cd9d640f3ea8783fb4c898ca0ca57 /tests/test_tools/simpletest/reporter.php
parent51fe975484bb4d1e8e63f4438c1c8e7f1b41c5df (diff)
Make simpletest E_STRICT compatible
Diffstat (limited to 'tests/test_tools/simpletest/reporter.php')
-rw-r--r--tests/test_tools/simpletest/reporter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_tools/simpletest/reporter.php b/tests/test_tools/simpletest/reporter.php
index 3e7b2766..1e30d2bf 100644
--- a/tests/test_tools/simpletest/reporter.php
+++ b/tests/test_tools/simpletest/reporter.php
@@ -58,7 +58,7 @@
* @access public
* @static
*/
- function sendNoCacheHeaders() {
+ static function sendNoCacheHeaders() {
if (! headers_sent()) {
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");