X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fsite%2FHashSiteStore.php;h=2c2547210a76b1d1fb8538c6718a55dd662c8f67;hb=b24a0048185fe7c4d86f8b55872ad749c6ab52e6;hp=38528d6fe6caf7fa9f7b1c092d89b3645da44567;hpb=db00239568969a41148cfdec0a77436f73fe802d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/site/HashSiteStore.php b/includes/site/HashSiteStore.php index 38528d6fe6..2c2547210a 100644 --- a/includes/site/HashSiteStore.php +++ b/includes/site/HashSiteStore.php @@ -54,6 +54,8 @@ class HashSiteStore implements SiteStore { */ public function saveSite( Site $site ) { $this->sites[$site->getGlobalId()] = $site; + + return true; } /** @@ -69,6 +71,8 @@ class HashSiteStore implements SiteStore { foreach ( $sites as $site ) { $this->saveSite( $site ); } + + return true; } /** @@ -112,6 +116,8 @@ class HashSiteStore implements SiteStore { */ public function clear() { $this->sites = array(); + + return true; } }