File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
app/code/Magento/Quote/Model/ResourceModel/Quote Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -21,29 +21,4 @@ protected function _construct()
21
21
{
22
22
$ this ->_init (\Magento \Quote \Model \Quote::class, \Magento \Quote \Model \ResourceModel \Quote::class);
23
23
}
24
-
25
- /**
26
- * Join table to collection select
27
- *
28
- * @param array|string $table
29
- * @param string $cond
30
- * @param array|string $cols
31
- * @return $this
32
- */
33
- public function joinLeft (array |string $ table , string $ cond , array |string $ cols = '* ' )
34
- {
35
- if (is_array ($ table )) {
36
- $ newTable = reset ($ table );
37
- $ alias = key ($ table );
38
- $ table = $ newTable ;
39
- } else {
40
- $ alias = $ table ;
41
- }
42
-
43
- if (!isset ($ this ->_joinedTables [$ alias ])) {
44
- $ this ->getSelect ()->joinLeft ([$ alias => $ this ->getTable ($ table )], $ cond , $ cols );
45
- $ this ->_joinedTables [$ alias ] = true ;
46
- }
47
- return $ this ;
48
- }
49
24
}
You can’t perform that action at this time.
0 commit comments