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:
e7404af
)
Change CdbException to subclass Exception
author
Chad Horohoe
<chadh@wikimedia.org>
Thu, 21 Nov 2013 23:42:05 +0000
(15:42 -0800)
committer
Chad Horohoe
<chadh@wikimedia.org>
Tue, 26 Nov 2013 23:28:54 +0000
(15:28 -0800)
Nothing really makes use of this yet outside of core, so should be
ok and minimal impact.
Change-Id: Iab9f7fe0df41d8020d6ccd4e860af6d045948aee
includes/utils/Cdb.php
patch
|
blob
|
history
diff --git
a/includes/utils/Cdb.php
b/includes/utils/Cdb.php
index
0995aed
..
f556ee7
100644
(file)
--- a/
includes/utils/Cdb.php
+++ b/
includes/utils/Cdb.php
@@
-155,6
+155,7
@@
abstract class CdbWriter {
}
/**
- * Exception for Cdb errors
+ * Exception for Cdb errors.
+ * This explicitly doesn't subclass MWException to encourage reuse.
*/
-class CdbException extends
MW
Exception {}
+class CdbException extends Exception {}