Do not insert page titles into querycache.qc_value
[lhc/web/wiklou.git] / tests / phpunit / includes / specials / SpecialPageExecutor.php
index 9572e30..abb0d11 100644 (file)
@@ -117,15 +117,10 @@ class SpecialPageExecutor {
                        } else {
                                $html = $output->getHTML();
                        }
-               } catch ( Exception $ex ) {
+               } finally {
                        ob_end_clean();
-
-                       // Re-throw exception after "finally" handling because PHP 5.3 doesn't have "finally".
-                       throw $ex;
                }
 
-               ob_end_clean();
-
                return $html;
        }