dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66738d9
)
SqlBagOStuff: document public method deleteAll()
author
Sergio Santoro
<santoro.srg@gmail.com>
Wed, 15 Oct 2014 20:57:53 +0000
(22:57 +0200)
committer
Sergio Santoro
<santoro.srg@gmail.com>
Wed, 15 Oct 2014 20:57:53 +0000
(22:57 +0200)
Change-Id: I23700714453b6243e564642f2bad4a2d1c2469c6
includes/objectcache/SqlBagOStuff.php
patch
|
blob
|
history
diff --git
a/includes/objectcache/SqlBagOStuff.php
b/includes/objectcache/SqlBagOStuff.php
index
5872079
..
3b0f816
100644
(file)
--- a/
includes/objectcache/SqlBagOStuff.php
+++ b/
includes/objectcache/SqlBagOStuff.php
@@
-638,6
+638,11
@@
class SqlBagOStuff extends BagOStuff {
return true;
}
+ /**
+ * Delete content of shard tables in every server.
+ * Return true if the operation is successful, false otherwise.
+ * @return bool
+ */
public function deleteAll() {
for ( $serverIndex = 0; $serverIndex < $this->numServers; $serverIndex++ ) {
try {