diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2011-04-05 06:26:39 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2011-04-05 06:26:39 +0400 |
commit | e43790d789937a81a83062ecef0e32d5adbcec82 (patch) | |
tree | 8d9afcd90ca242dcd1a824156980b4967ddf8ce3 /core/Site.php | |
parent | bea385493928e4fdf01cadd71d65d7ff06db67eb (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.php | 5 |
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().", |