@@ -145,8 +145,7 @@ |
||
| 145 | 145 | } |
| 146 | 146 | if ($this->isMail($value)) { |
| 147 | 147 | return '<a href="' . $this->utils->html("mailto:$value") . '">' . $value . '</a>'; |
| 148 | - } |
|
| 149 | - elseif ($this->isUrl($value)) { |
|
| 148 | + } elseif ($this->isUrl($value)) { |
|
| 150 | 149 | // IE 11 and all modern browsers hide referrer |
| 151 | 150 | return '<a href="' . $this->utils->html($value) . '"' . $this->blankTarget() . '>' . $value . '</a>'; |
| 152 | 151 | } |
@@ -208,8 +208,7 @@ |
||
| 208 | 208 | try { |
| 209 | 209 | ini_set('memory_limit', max($this->admin->iniBytes('memory_limit'), |
| 210 | 210 | 2 * strlen($queries) + memory_get_usage() + 8e6)); |
| 211 | - } |
|
| 212 | - catch(\Exception $e) { |
|
| 211 | + } catch(\Exception $e) { |
|
| 213 | 212 | // Do nothing if the option is not modified. |
| 214 | 213 | } |
| 215 | 214 | } |
@@ -279,8 +279,7 @@ |
||
| 279 | 279 | foreach ($databases as $database => $tables) { |
| 280 | 280 | try { |
| 281 | 281 | $this->dumpDatabase($database, $tables); |
| 282 | - } |
|
| 283 | - catch (Exception $e) { |
|
| 282 | + } catch (Exception $e) { |
|
| 284 | 283 | return $e->getMessage(); |
| 285 | 284 | } |
| 286 | 285 | } |