Passed
Push — master ( f9a0fe...2b385a )
by Joe
02:42
created
src/Adodb/Db.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@  discard block
 block discarded – undo
17 17
  *
18 18
  * @access public
19 19
  */
20
-class Db extends Generic implements Db_Interface
21
-{
20
+class Db extends Generic implements Db_Interface {
22 21
 	public $driver = 'mysql';
23 22
 	public $Rows = [];
24 23
 	public $type = 'adodb';
@@ -172,11 +171,9 @@  discard block
 block discarded – undo
172 171
 
173 172
 		}
174 173
 
175
-		try
176
-		{
174
+		try {
177 175
 			$this->queryId = $this->linkId->Execute($queryString);
178
-		}
179
-		catch (exception $e) {
176
+		} catch (exception $e) {
180 177
 			$email = "MySQL Error<br>\n".'Query: '.$queryString."<br>\n".'Error #'.print_r($e, TRUE)."<br>\n".'Line: '.$line."<br>\n".'File: '.$file."<br>\n".(isset($GLOBALS['tf']) ?
181 178
 					'User: '.$GLOBALS['tf']->session->account_id."<br>\n" : '');
182 179
 
Please login to merge, or discard this patch.