dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use finally instead of try-catch-throw
[lhc/web/wiklou.git]
/
includes
/
context
/
RequestContext.php
diff --git
a/includes/context/RequestContext.php
b/includes/context/RequestContext.php
index
2cbe67c
..
a4225a1
100644
(file)
--- a/
includes/context/RequestContext.php
+++ b/
includes/context/RequestContext.php
@@
-345,12
+345,8
@@
class RequestContext implements IContextSource, MutableContext {
$obj = Language::factory( $code );
$this->lang = $obj;
}
-
- unset( $this->recursion );
- }
- catch ( Exception $ex ) {
+ } finally {
unset( $this->recursion );
- throw $ex;
}
}