From b74d5311f65a28e6f3848d0c374b0ad83756fdc3 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 21 Nov 2013 15:42:05 -0800 Subject: [PATCH] Change CdbException to subclass Exception Nothing really makes use of this yet outside of core, so should be ok and minimal impact. Change-Id: Iab9f7fe0df41d8020d6ccd4e860af6d045948aee --- includes/utils/Cdb.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/utils/Cdb.php b/includes/utils/Cdb.php index 0995aed718..f556ee7af7 100644 --- 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 MWException {} +class CdbException extends Exception {} -- 2.20.1