From 9ae3d27ef041ee146be1374059b58dc512e7cb60 Mon Sep 17 00:00:00 2001 From: Sergio Santoro Date: Wed, 15 Oct 2014 22:57:53 +0200 Subject: [PATCH] SqlBagOStuff: document public method deleteAll() Change-Id: I23700714453b6243e564642f2bad4a2d1c2469c6 --- includes/objectcache/SqlBagOStuff.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/objectcache/SqlBagOStuff.php b/includes/objectcache/SqlBagOStuff.php index 58720790d3..3b0f8165d3 100644 --- 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 { -- 2.20.1