File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed
app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright 2013 Adobe
4- * All Rights Reserved .
3+ * Copyright © Magento, Inc. All rights reserved.
4+ * See COPYING.txt for license details .
55 */
66
77namespace Magento \Wishlist \Model \ResourceModel \Item \Collection ;
@@ -124,8 +124,6 @@ protected function _assignProducts()
124124 $ item ->setProductName ($ product ->getName ());
125125 $ item ->setName ($ product ->getName ());
126126 $ item ->setPrice ($ product ->getPrice ());
127- } else {
128- $ this ->removeItemByKey ($ item ->getId ());
129127 }
130128 }
131129
@@ -188,17 +186,4 @@ private function addQtyFilter(string $field, array $condition)
188186 {
189187 return parent ::addFieldToFilter ('main_table. ' . $ field , $ condition );
190188 }
191-
192- /**
193- * @inheritdoc
194- */
195- /* public function getSize()
196- {
197- $this->load();
198- if ($this->_totalRecords === null) {
199- $this->_totalRecords = count($this->getItems());
200- }
201-
202- return (int)$this->_totalRecords;
203- }*/
204189}
You can’t perform that action at this time.
0 commit comments