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:
4c36759
)
Partial revert of r56602: remove what is probably accidentally committed debugging...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 18 Sep 2009 14:38:59 +0000
(14:38 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 18 Sep 2009 14:38:59 +0000
(14:38 +0000)
includes/api/ApiFormatBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFormatBase.php
b/includes/api/ApiFormatBase.php
index
166c98f
..
0294fce
100644
(file)
--- a/
includes/api/ApiFormatBase.php
+++ b/
includes/api/ApiFormatBase.php
@@
-334,8
+334,6
@@
class ApiFormatFeedWrapper extends ApiFormatBase {
foreach ($items as & $item)
$feed->outItem($item);
$feed->outFooter();
- } elseif ( isset($data['error']) ) {
- die( var_dump( $data['error'] ) );
} else {
// Error has occured, print something useful
ApiBase::dieDebug( __METHOD__, 'Invalid feed class/item' );
@@
-345,4
+343,4
@@
class ApiFormatFeedWrapper extends ApiFormatBase {
public function getVersion() {
return __CLASS__ . ': $Id$';
}
-}
+}
\ No newline at end of file