*
*/
require_once( 'UserUpdate.php' );
-require_once( 'ViewCountUpdate.php' );
require_once( 'SiteStatsUpdate.php' );
require_once( 'LinksUpdate.php' );
require_once( 'SearchUpdate.php' );
+++ /dev/null
-<?php
-/**
- * See deferred.doc
- * @version # $Id$
- * @package MediaWiki
- */
-
-/**
- *
- * @version # $Id$
- * @package MediaWiki
- */
-class ViewCountUpdate {
-
- var $mPageID;
-
- /**
- *
- */
- function ViewCountUpdate( $pageid ) {
- $this->mPageID = $pageid;
- }
-
- /**
- *
- */
- function doUpdate() {
- global $wgDisableCounters;
- if ( $wgDisableCounters ) { return; }
- $db =& wfGetDB( DB_MASTER );
- $lowpri = $db->lowPriorityOption();
- $sql = "UPDATE $lowpri cur SET cur_counter=(1+cur_counter)," .
- "cur_timestamp=cur_timestamp WHERE cur_id={$this->mPageID}";
- $res = $db->query( $sql, "ViewCountUpdate::doUpdate" );
- }
-}
-?>