Removed "flush on destruct" from StatCounter.
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 1 Apr 2013 17:36:50 +0000 (10:36 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 1 Apr 2013 17:36:50 +0000 (10:36 -0700)
Change-Id: Ib6ff0680d858e12969259997da163d0d696d65eb

includes/StatCounter.php

index 30e5042..ca32793 100644 (file)
@@ -134,8 +134,4 @@ class StatCounter {
                        // Disabled
                }
        }
-
-       function __destruct() {
-               $this->flush();
-       }
 }