Skip to content

Commit c6808c7

Browse files
committed
Update ActiveRecord.php
1 parent c9e7926 commit c6808c7

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/ActiveRecord.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -632,14 +632,6 @@ public static function flushBatchUpdate(){
632632
return $result;
633633
}
634634

635-
/**
636-
* resetting queue
637-
*/
638-
public static function resetBatchUpdate(){
639-
self::$batchUpdateQueue = 0;
640-
self::$batchUpdateCommand->document = [];
641-
}
642-
643635
/**
644636
* checking if current ActiveRecord class has documents in queue for delete
645637
* @return bool
@@ -710,12 +702,4 @@ public static function flushBatchDelete(){
710702
self::resetBatchDelete();
711703
return $result;
712704
}
713-
714-
/**
715-
* resetting queue
716-
*/
717-
public static function resetBatchDelete(){
718-
self::$batchDeleteQueue = 0;
719-
self::$batchDeleteCommand->document = [];
720-
}
721705
}

0 commit comments

Comments
 (0)