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:
d1f3210
)
Added simple transactions
author
Mr. E23
<e23@users.mediawiki.org>
Tue, 17 Feb 2004 22:10:19 +0000
(22:10 +0000)
committer
Mr. E23
<e23@users.mediawiki.org>
Tue, 17 Feb 2004 22:10:19 +0000
(22:10 +0000)
wiki.phtml
patch
|
blob
|
history
diff --git
a/wiki.phtml
b/wiki.phtml
index
3fcf006
..
a9427e2
100644
(file)
--- a/
wiki.phtml
+++ b/
wiki.phtml
@@
-67,6
+67,7
@@
if ( "" != $search ) {
$wgArticle = new Article( $wgTitle );
}
+ wfQuery("BEGIN", DB_WRITE);
switch( $action ) {
case "view":
case "watch":
@@
-98,6
+99,7
@@
if ( "" != $search ) {
default:
$wgOut->errorpage( "nosuchaction", "nosuchactiontext" );
}
+ wfQuery("COMMIT", DB_WRITE);
}
$wgOut->output();