Taueres has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/166876

Change subject: SqlBagOStuff: document public method deleteAll()
......................................................................

SqlBagOStuff: document public method deleteAll()

Change-Id: I23700714453b6243e564642f2bad4a2d1c2469c6
---
M includes/objectcache/SqlBagOStuff.php
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/76/166876/1

diff --git a/includes/objectcache/SqlBagOStuff.php 
b/includes/objectcache/SqlBagOStuff.php
index 5872079..3b0f816 100644
--- a/includes/objectcache/SqlBagOStuff.php
+++ b/includes/objectcache/SqlBagOStuff.php
@@ -638,6 +638,11 @@
                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 {

-- 
To view, visit https://gerrit.wikimedia.org/r/166876
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I23700714453b6243e564642f2bad4a2d1c2469c6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Taueres <santoro....@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to