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:
6a1d88c
)
(bug 15391) catch DBQueryError too
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 13 Jan 2009 15:42:10 +0000
(15:42 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 13 Jan 2009 15:42:10 +0000
(15:42 +0000)
includes/ExternalStore.php
patch
|
blob
|
history
diff --git
a/includes/ExternalStore.php
b/includes/ExternalStore.php
index
d095aba
..
1e750bb
100644
(file)
--- a/
includes/ExternalStore.php
+++ b/
includes/ExternalStore.php
@@
-92,6
+92,8
@@
class ExternalStore {
$url = $store->store( $params, $data ); // Try to save the object
} catch ( DBConnectionError $error ) {
$url = false;
+ } catch( DBQueryError $error ) {
+ $url = false;
}
if ( $url ) {
return $url; // Done!