removed some debugging statements, I think they were all added by kate in the oracle...
authorTim Starling <tstarling@users.mediawiki.org>
Sat, 20 Aug 2005 03:11:05 +0000 (03:11 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sat, 20 Aug 2005 03:11:05 +0000 (03:11 +0000)
includes/BagOStuff.php
includes/EditPage.php
includes/GlobalFunctions.php
includes/LinkCache.php
includes/PageHistory.php
includes/Title.php

index 7e48fb0..8ff252f 100644 (file)
@@ -373,7 +373,6 @@ class SqlBagOStuff extends BagOStuff {
                                $serial = $decomp;
                        }
                }
-               wfdebug("serial: [$serial]\n");
                $ret = unserialize( $serial );
                return $ret;
        }
index fbf06ba..5ffd40b 100644 (file)
@@ -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;
index 8204cad..3c37cb0 100644 (file)
@@ -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)) {
index f5ff7f9..57903dd 100644 (file)
@@ -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;
                        }
index d4a87cd..a3d6c28 100644 (file)
@@ -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.
                 */
index d95db8c..d4df8cf 100644 (file)
@@ -1149,7 +1149,6 @@ class Title {
                                $this->mArticleID = $wgLinkCache->addLinkObj( $this );
                        }
                }
-wfdebug("title: articleid = ".$this->mArticleID."\n");
                return $this->mArticleID;
        }