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:
aef7565
)
Actually, let's have that commit() call there anyway, the way it currently works...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 4 Apr 2008 13:49:56 +0000
(13:49 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 4 Apr 2008 13:49:56 +0000
(13:49 +0000)
includes/api/ApiEditPage.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiEditPage.php
b/includes/api/ApiEditPage.php
index
8d62a44
..
af8ad19
100644
(file)
--- a/
includes/api/ApiEditPage.php
+++ b/
includes/api/ApiEditPage.php
@@
-147,7
+147,9
@@
class ApiEditPage extends ApiBase {
global $wgTitle;
$wgTitle = null;
$dbw = wfGetDb(DB_MASTER);
+ $dbw->begin();
$retval = $ep->internalAttemptSave($result, $wgUser->isAllowed('bot') && $params['bot']);
+ ` $dbw->commit();
switch($retval)
{
case EditPage::AS_HOOK_ERROR: