dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "jquery.accessKeyLabel: make modifier info public"
[lhc/web/wiklou.git]
/
includes
/
site
/
HashSiteStore.php
diff --git
a/includes/site/HashSiteStore.php
b/includes/site/HashSiteStore.php
index
38528d6
..
2c25472
100644
(file)
--- 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;
*/
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 );
}
foreach ( $sites as $site ) {
$this->saveSite( $site );
}
+
+ return true;
}
/**
}
/**
@@
-112,6
+116,8
@@
class HashSiteStore implements SiteStore {
*/
public function clear() {
$this->sites = array();
*/
public function clear() {
$this->sites = array();
+
+ return true;
}
}
}
}