@@ -156,8 +156,7 @@ |
||
| 156 | 156 | if (Request::current()->is_ajax()) |
| 157 | 157 | { |
| 158 | 158 | return false; |
| 159 | - } |
|
| 160 | - else |
|
| 159 | + } else |
|
| 161 | 160 | { |
| 162 | 161 | return true; |
| 163 | 162 | } |
@@ -134,8 +134,7 @@ discard block |
||
| 134 | 134 | if (substr($var, 0, 1) != $this->_raw_output_char) |
| 135 | 135 | { |
| 136 | 136 | return '<?php echo '.$this->_encode_method.'('.$var.'); ?>'; |
| 137 | - } |
|
| 138 | - else |
|
| 137 | + } else |
|
| 139 | 138 | { |
| 140 | 139 | // Remove the "turn off escape" character |
| 141 | 140 | return '<?php echo '.substr($var, strlen($this->_raw_output_char), strlen($var)-1).'; ?>'; |
@@ -198,8 +197,7 @@ discard block |
||
| 198 | 197 | { |
| 199 | 198 | $this->_pos = $offset; |
| 200 | 199 | return true; |
| 201 | - } |
|
| 202 | - else |
|
| 200 | + } else |
|
| 203 | 201 | { |
| 204 | 202 | return false; |
| 205 | 203 | } |
@@ -210,8 +208,7 @@ discard block |
||
| 210 | 208 | { |
| 211 | 209 | $this->_pos += $offset; |
| 212 | 210 | return true; |
| 213 | - } |
|
| 214 | - else |
|
| 211 | + } else |
|
| 215 | 212 | { |
| 216 | 213 | return false; |
| 217 | 214 | } |
@@ -222,8 +219,7 @@ discard block |
||
| 222 | 219 | { |
| 223 | 220 | $this->_pos = strlen($this->_data) + $offset; |
| 224 | 221 | return true; |
| 225 | - } |
|
| 226 | - else |
|
| 222 | + } else |
|
| 227 | 223 | { |
| 228 | 224 | return false; |
| 229 | 225 | } |
@@ -34,8 +34,7 @@ discard block |
||
| 34 | 34 | try |
| 35 | 35 | { |
| 36 | 36 | include 'kohana.view://'.$kohana_view_filename; |
| 37 | - } |
|
| 38 | - catch (Exception $e) |
|
| 37 | + } catch (Exception $e) |
|
| 39 | 38 | { |
| 40 | 39 | // Delete the output buffer |
| 41 | 40 | ob_end_clean(); |
@@ -59,8 +58,7 @@ discard block |
||
| 59 | 58 | try |
| 60 | 59 | { |
| 61 | 60 | return $this->render(); |
| 62 | - } |
|
| 63 | - catch (Exception $e) |
|
| 61 | + } catch (Exception $e) |
|
| 64 | 62 | { |
| 65 | 63 | // Display the exception message |
| 66 | 64 | Kohana_Exception::handler($e); |