Missed one method call
This commit is contained in:
parent
a480041f9c
commit
824c968c5b
@ -184,7 +184,7 @@ class BeanLoader {
|
||||
return true;
|
||||
}
|
||||
|
||||
private static function removeObjectsNotInData(&$dataList, &$boardList) {
|
||||
private static function removeObjectsNotInData($type, &$dataList, &$boardList) {
|
||||
$dataIds = [];
|
||||
|
||||
foreach ($dataList as $data) {
|
||||
@ -221,7 +221,7 @@ class BeanLoader {
|
||||
private static function updateBoardList($type, $loadFunc,
|
||||
&$boardList = [], &$dataList = []) {
|
||||
if (count($boardList) && count($dataList)) {
|
||||
self::removeObjectsNotInData($dataList, $boardList);
|
||||
self::removeObjectsNotInData($type, $dataList, $boardList);
|
||||
}
|
||||
|
||||
if (count($dataList)) {
|
||||
|
Reference in New Issue
Block a user