@@ -729,9 +729,8 @@ DatabaseCollection.prototype.insert = function insert(document) {
729729 $metamodel . prepareObject ( obj , $metamodel . getModel ( this . name ) ) ;
730730
731731 exports . store [ this . name ] [ obj [ $mson . ID ] ] = obj ;
732- result . push ( obj [ $mson . ID ] ) ;
733732
734- $log . documentInserted ( obj [ $mson . ID ] , this . name ) ;
733+ result . push ( obj [ $mson . ID ] ) ;
735734
736735 Component = $component . get ( this . name ) ;
737736 if ( Component ) {
@@ -873,12 +872,6 @@ DatabaseCollection.prototype.update = function update(query, update, options) {
873872
874873 docs [ i ] [ attributeName ] = update [ attributeName ] ;
875874
876- $log . documentUpdated (
877- docs [ i ] [ $mson . ID ] ,
878- this . name ,
879- attributeName ,
880- update [ attributeName ]
881- ) ;
882875 result . push ( docs [ i ] [ $mson . ID ] ) ;
883876
884877 if ( $helper . isRuntime ( ) && $helper . getRuntime ( ) . require ( 'db' ) ) {
@@ -936,12 +929,6 @@ DatabaseCollection.prototype.update = function update(query, update, options) {
936929
937930 docs [ i ] [ attributeName ] = update [ attributeName ] ;
938931
939- $log . documentUpdated (
940- docs [ i ] [ $mson . ID ] ,
941- this . name ,
942- attributeName ,
943- update [ attributeName ]
944- ) ;
945932 result . push ( docs [ i ] [ $mson . ID ] ) ;
946933
947934 if ( $helper . isRuntime ( ) && $helper . getRuntime ( ) . require ( 'db' ) ) {
@@ -1002,7 +989,6 @@ DatabaseCollection.prototype.remove = function remove(query) {
1002989
1003990 delete exports . store [ this . name ] [ id ] ;
1004991
1005- $log . documentRemoved ( id , this . name ) ;
1006992 result . push ( id ) ;
1007993
1008994 component = $component . get ( id ) ;
@@ -1038,7 +1024,6 @@ DatabaseCollection.prototype.remove = function remove(query) {
10381024
10391025 delete exports . store [ this . name ] [ id ] ;
10401026
1041- $log . documentRemoved ( id , this . name ) ;
10421027 result . push ( id ) ;
10431028
10441029 component = $component . get ( id ) ;
@@ -1070,8 +1055,6 @@ DatabaseCollection.prototype.remove = function remove(query) {
10701055
10711056 delete exports . store [ this . name ] [ id ] ;
10721057
1073- $log . documentRemoved ( id , this . name ) ;
1074-
10751058 if ( coreDb . indexOf ( this . name ) === - 1 ) {
10761059 component = $component . get ( id ) ;
10771060 if ( component ) {
0 commit comments