mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Removed unneeded variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4855 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
0eb008fa58
commit
74653e5fac
1 changed files with 1 additions and 2 deletions
|
@ -45,9 +45,8 @@ class CakeTestFixture extends Object {
|
|||
$this->db =& $db;
|
||||
|
||||
if (isset($this->import) && (is_string($this->import) || is_array($this->import))) {
|
||||
$debug = Configure::read();
|
||||
|
||||
$import = array();
|
||||
|
||||
if (is_string($this->import) || is_array($this->import) && isset($this->import['model'])) {
|
||||
$import = am(array('records' => false), ife(is_array($this->import), $this->import, array()));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue