diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-30 06:22:03 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-30 06:22:03 +0400 |
commit | 241cd5c015c46945140be70c7daec15e166de29c (patch) | |
tree | 6c7740e8e5dffaa4006b9208324a1952bac49469 /plugins/SitesManager/SitesManager.php | |
parent | 7b3d0025c861bff8d9230faafae5d6ffff8f912c (diff) |
- fixing recently introduced sorting issue, refactoring, cleaning up the generic filters concept by removing the automatic sorting of data
- fixing issue when executing unit tests would invalidate tmp/cache/tracker files
- fixed edge case issue when calling several apis from one http request, and requesting recursive output, it was failing in some random cases
- adding a unit test that calls all callable api methods and check for non empty output
-
Diffstat (limited to 'plugins/SitesManager/SitesManager.php')
-rw-r--r-- | plugins/SitesManager/SitesManager.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/SitesManager/SitesManager.php b/plugins/SitesManager/SitesManager.php index 1fcd1364ce..e39aa18fc7 100644 --- a/plugins/SitesManager/SitesManager.php +++ b/plugins/SitesManager/SitesManager.php @@ -38,9 +38,7 @@ class Piwik_SitesManager extends Piwik_Plugin function recordWebsiteHostsInCache($notification) { require_once "SitesManager/API.php"; - $info = $notification->getNotificationInfo(); - $idsite = $info['idsite']; - + $idsite = $notification->getNotificationInfo(); // add the 'hosts' entry in the website array $array =& $notification->getNotificationObject(); $urls = Piwik_SitesManager_API::getSiteUrlsFromId($idsite); |