File tree Expand file tree Collapse file tree 2 files changed +0
-40
lines changed
app/code/Magento/Cms/Model/ResourceModel Expand file tree Collapse file tree 2 files changed +0
-40
lines changed Original file line number Diff line number Diff line change @@ -85,26 +85,6 @@ public function __construct(
85
85
$ this ->timeZone = $ timeZone ?: ObjectManager::getInstance ()->get (TimezoneInterface::class);
86
86
}
87
87
88
- /**
89
- * @inheritdoc
90
- */
91
- protected function _initSelect ()
92
- {
93
- parent ::_initSelect ();
94
-
95
- $ tableDescription = $ this ->getConnection ()->describeTable ($ this ->getMainTable ());
96
-
97
- if ($ tableDescription ) {
98
- foreach ($ tableDescription as $ columnInfo ) {
99
- if ($ columnInfo ['COLUMN_NAME ' ] === 'creation_time ' || $ columnInfo ['COLUMN_NAME ' ] === 'update_time ' ) {
100
- $ this ->addFilterToMap ($ columnInfo ['COLUMN_NAME ' ], 'main_table. ' .$ columnInfo ['COLUMN_NAME ' ]);
101
- }
102
- }
103
- }
104
-
105
- return $ this ;
106
- }
107
-
108
88
/**
109
89
* @inheritDoc
110
90
*/
Original file line number Diff line number Diff line change @@ -85,26 +85,6 @@ public function __construct(
85
85
$ this ->timeZone = $ timeZone ?: ObjectManager::getInstance ()->get (TimezoneInterface::class);
86
86
}
87
87
88
- /**
89
- * @inheritdoc
90
- */
91
- protected function _initSelect ()
92
- {
93
- parent ::_initSelect ();
94
-
95
- $ tableDescription = $ this ->getConnection ()->describeTable ($ this ->getMainTable ());
96
-
97
- if ($ tableDescription ) {
98
- foreach ($ tableDescription as $ columnInfo ) {
99
- if ($ columnInfo ['COLUMN_NAME ' ] === 'creation_time ' || $ columnInfo ['COLUMN_NAME ' ] === 'update_time ' ) {
100
- $ this ->addFilterToMap ($ columnInfo ['COLUMN_NAME ' ], 'main_table. ' .$ columnInfo ['COLUMN_NAME ' ]);
101
- }
102
- }
103
- }
104
-
105
- return $ this ;
106
- }
107
-
108
88
/**
109
89
* @inheritDoc
110
90
*/
You can’t perform that action at this time.
0 commit comments