Fix documentation for $wgUploadPath in DefaultSettings.php, it's $wgScriptPath/images...
[lhc/web/wiklou.git] / includes / ViewCountUpdate.php
index 8dc8fa0..a30b0f7 100644 (file)
  */
 
 /**
- * Update for the 'page_counter' field, when $wgDisableCounters is true.
+ * Update for the 'page_counter' field, when $wgDisableCounters is false.
  *
  * Depending on $wgHitcounterUpdateFreq, this will directly increment the
  * 'page_counter' field or use the 'hitcounter' table and then collect the data
  * from that table to update the 'page_counter' field in a batch operation.
  */
-class ViewCountUpdate {
+class ViewCountUpdate implements DeferrableUpdate {
        protected $id;
 
        /**
@@ -107,7 +107,5 @@ class ViewCountUpdate {
 
                ignore_user_abort( $old_user_abort );
                wfProfileOut( __METHOD__ . '-collect' );
-               throw new MWException( 'test' );
        }
-
-}
\ No newline at end of file
+}