Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2011-04-05 06:26:39 +0400
committermattpiwik <matthieu.aubry@gmail.com>2011-04-05 06:26:39 +0400
commite43790d789937a81a83062ecef0e32d5adbcec82 (patch)
tree8d9afcd90ca242dcd1a824156980b4967ddf8ce3 /core/Site.php
parentbea385493928e4fdf01cadd71d65d7ff06db67eb (diff)
Small performance improvement on the websites page when many websites
git-svn-id: http://dev.piwik.org/svn/trunk@4318 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Site.php')
-rw-r--r--core/Site.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Site.php b/core/Site.php
index 0b0dedc877..1a3c2a0960 100644
--- a/core/Site.php
+++ b/core/Site.php
@@ -29,6 +29,11 @@ class Piwik_Site
}
}
+ public static function setSites($sites)
+ {
+ self::$infoSites = $sites;
+ }
+
function __toString()
{
return "site id=".$this->getId().",