mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
Removing redundant code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6672 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
4acac55cf2
commit
31eb02db28
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ class CakeTestCase extends UnitTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
@$dispatcher->dispatch($url, array_diff_key($params, array('return' => 0)));
|
@$dispatcher->dispatch($url, $params);
|
||||||
$result = ob_get_clean();
|
$result = ob_get_clean();
|
||||||
|
|
||||||
if ($return == 'vars') {
|
if ($return == 'vars') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue