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()
158
158
*/
159
159
public function get_many ($ values )
160
160
{
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
-
166
161
$ this ->_database ->where_in ($ this ->primary_key , $ values );
167
162
168
163
return $ this ->get_all ();
@@ -174,12 +169,7 @@ public function get_many($values)
174
169
public function get_many_by ()
175
170
{
176
171
$ 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
+
183
173
$ this ->_set_where ($ where );
184
174
185
175
return $ this ->get_all ();
You can’t perform that action at this time.
0 commit comments