From 9578059ce1837e9dd9c2c6fec01de5ea54e07c7b Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 20 Aug 2005 03:11:05 +0000 Subject: [PATCH] removed some debugging statements, I think they were all added by kate in the oracle merge --- includes/BagOStuff.php | 1 - includes/EditPage.php | 1 - includes/GlobalFunctions.php | 1 - includes/LinkCache.php | 1 - includes/PageHistory.php | 1 - includes/Title.php | 1 - 6 files changed, 6 deletions(-) diff --git a/includes/BagOStuff.php b/includes/BagOStuff.php index 7e48fb04a7..8ff252fd07 100644 --- a/includes/BagOStuff.php +++ b/includes/BagOStuff.php @@ -373,7 +373,6 @@ class SqlBagOStuff extends BagOStuff { $serial = $decomp; } } - wfdebug("serial: [$serial]\n"); $ret = unserialize( $serial ); return $ret; } diff --git a/includes/EditPage.php b/includes/EditPage.php index fbf06ba27c..5ffd40b2d5 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -440,7 +440,6 @@ class EditPage { $this->mArticle->clear(); # Force reload of dates, etc. $this->mArticle->forUpdate( true ); # Lock the article -wfdebug("CONFLICT: edittime=".$this->edittime." article timestamp=".$this->mArticle->getTimestamp()."\n"); if( ( $this->section != 'new' ) && ($this->mArticle->getTimestamp() != $this->edittime ) ) { $isConflict = true; diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 8204cad137..3c37cb03f7 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1080,7 +1080,6 @@ define('TS_ORACLE', 5); * @return string Time in the format specified in $outputtype */ function wfTimestamp($outputtype=TS_UNIX,$ts=0) { -wfdebug("ts: $ts\n"); if ($ts==0) { $uts=time(); } elseif (preg_match("/^(\d{4})\-(\d\d)\-(\d\d) (\d\d):(\d\d):(\d\d)$/",$ts,$da)) { diff --git a/includes/LinkCache.php b/includes/LinkCache.php index f5ff7f9423..57903ddc38 100644 --- a/includes/LinkCache.php +++ b/includes/LinkCache.php @@ -164,7 +164,6 @@ class LinkCache { $id = $db->selectField( 'page', 'page_id', array( 'page_namespace' => $ns, 'page_title' => $t ), $fname, $options ); -wfdebug("link cache: id=$id\n"); if ( !$id ) { $id = 0; } diff --git a/includes/PageHistory.php b/includes/PageHistory.php index d4a87cdd93..a3d6c284db 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -98,7 +98,6 @@ class PageHistory { $offset = 0; # $offset = $dbr->timestamp($offset); $dboffset = $offset === 0 ? 0 : $dbr->timestamp($offset); - wfdebug("offset=[$offset] dboffset=[$dboffset]\n"); /* * "go=last" means to jump to the last history page. */ diff --git a/includes/Title.php b/includes/Title.php index d95db8c3d9..d4df8cfef9 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1149,7 +1149,6 @@ class Title { $this->mArticleID = $wgLinkCache->addLinkObj( $this ); } } -wfdebug("title: articleid = ".$this->mArticleID."\n"); return $this->mArticleID; } -- 2.20.1