SqlBagOStuff: document public method deleteAll()
authorSergio Santoro <santoro.srg@gmail.com>
Wed, 15 Oct 2014 20:57:53 +0000 (22:57 +0200)
committerSergio Santoro <santoro.srg@gmail.com>
Wed, 15 Oct 2014 20:57:53 +0000 (22:57 +0200)
Change-Id: I23700714453b6243e564642f2bad4a2d1c2469c6

includes/objectcache/SqlBagOStuff.php

index 5872079..3b0f816 100644 (file)
@@ -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 {