From: Sergio Santoro Date: Wed, 15 Oct 2014 20:57:53 +0000 (+0200) Subject: SqlBagOStuff: document public method deleteAll() X-Git-Tag: 1.31.0-rc.0~13596^2 X-Git-Url: http://git.cyclocoop.org/%27.generer_url_ecrire%28%27admin_couteau_suisse%27%2C%27cmd=descrip&outil=boites_privees?a=commitdiff_plain;h=9ae3d27ef041ee146be1374059b58dc512e7cb60;p=lhc%2Fweb%2Fwiklou.git SqlBagOStuff: document public method deleteAll() Change-Id: I23700714453b6243e564642f2bad4a2d1c2469c6 --- 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 {