summaryrefslogtreecommitdiff
path: root/modules/statistics
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-31 01:49:55 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-31 01:49:55 +0000
commitf40532da769cd1dd551a42bec64dbb1aff240099 (patch)
tree988da5abd5f1604ea59cccea4747dc124cccfb95 /modules/statistics
parent5cc1704a3f23cdef051fbd74bb6532f4dc3800d4 (diff)
downloadbrdo-f40532da769cd1dd551a42bec64dbb1aff240099.tar.gz
brdo-f40532da769cd1dd551a42bec64dbb1aff240099.tar.bz2
#376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest.
Diffstat (limited to 'modules/statistics')
-rw-r--r--modules/statistics/statistics.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics/statistics.test b/modules/statistics/statistics.test
index 2c0ac586c..a40e18c96 100644
--- a/modules/statistics/statistics.test
+++ b/modules/statistics/statistics.test
@@ -2,7 +2,7 @@
// $Id$
class StatisticsBlockVisitorsTestCase extends DrupalWebTestCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Top visitor blocking'),
'description' => t('Tests blocking of IP addresses via the top visitors report.'),