File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -158,11 +158,6 @@ public function get_by()
158158 */
159159 public function get_many ($ values )
160160 {
161- if ($ this ->soft_delete && $ this ->_temporary_with_deleted !== TRUE )
162- {
163- $ this ->_database ->where ($ this ->soft_delete_key , (bool )$ this ->_temporary_only_deleted );
164- }
165-
166161 $ this ->_database ->where_in ($ this ->primary_key , $ values );
167162
168163 return $ this ->get_all ();
@@ -174,12 +169,7 @@ public function get_many($values)
174169 public function get_many_by ()
175170 {
176171 $ where = func_get_args ();
177-
178- if ($ this ->soft_delete && $ this ->_temporary_with_deleted !== TRUE )
179- {
180- $ this ->_database ->where ($ this ->soft_delete_key , (bool )$ this ->_temporary_only_deleted );
181- }
182-
172+
183173 $ this ->_set_where ($ where );
184174
185175 return $ this ->get_all ();
You can’t perform that action at this time.
0 commit comments