@@ -36,8 +36,7 @@ |
||
| 36 | 36 | } |
| 37 | 37 | } catch (PDOException $e) { |
| 38 | 38 | return $e->getMessage(); |
| 39 | - } |
|
| 40 | - finally { |
|
| 39 | + } finally { |
|
| 41 | 40 | $dbConnect = null; |
| 42 | 41 | } |
| 43 | 42 | } |
@@ -104,8 +104,7 @@ discard block |
||
| 104 | 104 | } |
| 105 | 105 | } catch (RecordNotFoundException $e) { |
| 106 | 106 | return $e->message(); |
| 107 | - } |
|
| 108 | - finally { |
|
| 107 | + } finally { |
|
| 109 | 108 | $dbConnect = null; |
| 110 | 109 | } |
| 111 | 110 | } |
@@ -129,8 +128,7 @@ discard block |
||
| 129 | 128 | } |
| 130 | 129 | } catch (PDOException $e) { |
| 131 | 130 | return $e->getMessage(); |
| 132 | - } |
|
| 133 | - finally { |
|
| 131 | + } finally { |
|
| 134 | 132 | $dbConn = null; |
| 135 | 133 | } |
| 136 | 134 | } |
@@ -158,8 +156,7 @@ discard block |
||
| 158 | 156 | return $e->getMessage(); |
| 159 | 157 | } catch (RecordNotFoundException $e) { |
| 160 | 158 | return $e->message(); |
| 161 | - } |
|
| 162 | - finally { |
|
| 159 | + } finally { |
|
| 163 | 160 | $dbConn = null; |
| 164 | 161 | } |
| 165 | 162 | |
@@ -186,8 +183,7 @@ discard block |
||
| 186 | 183 | } |
| 187 | 184 | } catch (PDOException $e) { |
| 188 | 185 | echo $e->getMessage(); |
| 189 | - } |
|
| 190 | - finally { |
|
| 186 | + } finally { |
|
| 191 | 187 | $dbConn = null; |
| 192 | 188 | } |
| 193 | 189 | } |