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:
9a74779
)
Partial revert of r35058: when something looks stupid, that doesn't mean it is. This...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 26 May 2008 10:14:58 +0000
(10:14 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 26 May 2008 10:14:58 +0000
(10:14 +0000)
includes/api/ApiDelete.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiDelete.php
b/includes/api/ApiDelete.php
index
aac57f5
..
9ab29ba
100644
(file)
--- a/
includes/api/ApiDelete.php
+++ b/
includes/api/ApiDelete.php
@@
-121,8
+121,8
@@
class ApiDelete extends ApiBase {
// Auto-generate a summary, if necessary
if(is_null($reason))
{
-
//
$hasHistory = false;
- $reason = $article->generateReason(
false
);
+ $hasHistory = false;
+ $reason = $article->generateReason(
$hasHistory
);
if($reason === false)
return array(array('cannotdelete'));
}