From e8577f10a71bafd46a5610444b4f0e08a959827b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 28 Apr 2009 10:09:26 +0000 Subject: [PATCH] "removed not used query variable" --- phpgwapi/inc/class.egw_exception.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.egw_exception.inc.php b/phpgwapi/inc/class.egw_exception.inc.php index 29e726dbb6..18ccf8d0d4 100644 --- a/phpgwapi/inc/class.egw_exception.inc.php +++ b/phpgwapi/inc/class.egw_exception.inc.php @@ -147,12 +147,10 @@ class egw_exception_db extends egw_exception * Constructor * * @param string $msg=null message, default "Database error!" - * @param unknown_type $code=100 + * @param int $code=100 */ function __construct($msg=null,$code=100) { - $this->query = $query; - if (is_null($msg)) $msg = lang('Database error!'); parent::__construct($msg,$code);