4 class ViewCountUpdate
{
8 function ViewCountUpdate( $pageid )
10 $this->mPageID
= $pageid;
15 $sql = "UPDATE LOW_PRIORITY cur SET cur_counter=(1+cur_counter)," .
16 "cur_timestamp=cur_timestamp WHERE cur_id={$this->mPageID}";
17 $res = wfQuery( $sql, "ViewCountUpdate::doUpdate" );