dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3724ea2
)
removed some debugging statements, I think they were all added by kate in the oracle...
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 20 Aug 2005 03:11:05 +0000
(
03:11
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 20 Aug 2005 03:11:05 +0000
(
03:11
+0000)
includes/BagOStuff.php
patch
|
blob
|
history
includes/EditPage.php
patch
|
blob
|
history
includes/GlobalFunctions.php
patch
|
blob
|
history
includes/LinkCache.php
patch
|
blob
|
history
includes/PageHistory.php
patch
|
blob
|
history
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/BagOStuff.php
b/includes/BagOStuff.php
index
7e48fb0
..
8ff252f
100644
(file)
--- a/
includes/BagOStuff.php
+++ b/
includes/BagOStuff.php
@@
-373,7
+373,6
@@
class SqlBagOStuff extends BagOStuff {
$serial = $decomp;
}
}
$serial = $decomp;
}
}
- wfdebug("serial: [$serial]\n");
$ret = unserialize( $serial );
return $ret;
}
$ret = unserialize( $serial );
return $ret;
}
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
fbf06ba
..
5ffd40b
100644
(file)
--- 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
$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;
if( ( $this->section != 'new' ) &&
($this->mArticle->getTimestamp() != $this->edittime ) ) {
$isConflict = true;
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
8204cad
..
3c37cb0
100644
(file)
--- 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) {
* @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)) {
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
f5ff7f9
..
57903dd
100644
(file)
--- 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 );
$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;
}
if ( !$id ) {
$id = 0;
}
diff --git
a/includes/PageHistory.php
b/includes/PageHistory.php
index
d4a87cd
..
a3d6c28
100644
(file)
--- 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);
$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.
*/
/*
* "go=last" means to jump to the last history page.
*/
diff --git
a/includes/Title.php
b/includes/Title.php
index
d95db8c
..
d4df8cf
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1149,7
+1149,6
@@
class Title {
$this->mArticleID = $wgLinkCache->addLinkObj( $this );
}
}
$this->mArticleID = $wgLinkCache->addLinkObj( $this );
}
}
-wfdebug("title: articleid = ".$this->mArticleID."\n");
return $this->mArticleID;
}
return $this->mArticleID;
}