mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Fixes #7980: Removed duplicate code in getItem() which is executed anyways in populateItem()
This commit is contained in:
committed by
Alexander Makarov
parent
c75a546621
commit
eeeafc91b3
@ -234,10 +234,6 @@ class DbManager extends BaseManager
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($row['data']) || ($data = @unserialize($row['data'])) === false) {
|
|
||||||
$row['data'] = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $this->populateItem($row);
|
return $this->populateItem($row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user