Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
d733309d
Commit
d733309d
authored
Feb 27, 2013
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed event result bugs
parent
9bc980c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
library/Solarium/Plugin/BufferedAdd/BufferedAdd.php
library/Solarium/Plugin/BufferedAdd/BufferedAdd.php
+2
-2
No files found.
library/Solarium/Plugin/BufferedAdd/BufferedAdd.php
View file @
d733309d
...
@@ -211,7 +211,7 @@ class BufferedAdd extends Plugin
...
@@ -211,7 +211,7 @@ class BufferedAdd extends Plugin
$result
=
$this
->
client
->
update
(
$this
->
updateQuery
);
$result
=
$this
->
client
->
update
(
$this
->
updateQuery
);
$this
->
clear
();
$this
->
clear
();
$event
=
new
PostFlushEvent
(
$
this
->
buffer
);
$event
=
new
PostFlushEvent
(
$
result
);
$this
->
client
->
getEventDispatcher
()
->
dispatch
(
Events
::
POST_FLUSH
,
$event
);
$this
->
client
->
getEventDispatcher
()
->
dispatch
(
Events
::
POST_FLUSH
,
$event
);
return
$result
;
return
$result
;
...
@@ -238,7 +238,7 @@ class BufferedAdd extends Plugin
...
@@ -238,7 +238,7 @@ class BufferedAdd extends Plugin
$result
=
$this
->
client
->
update
(
$this
->
updateQuery
);
$result
=
$this
->
client
->
update
(
$this
->
updateQuery
);
$this
->
clear
();
$this
->
clear
();
$event
=
new
PostCommitEvent
(
$
this
->
buffer
);
$event
=
new
PostCommitEvent
(
$
result
);
$this
->
client
->
getEventDispatcher
()
->
dispatch
(
Events
::
POST_COMMIT
,
$event
);
$this
->
client
->
getEventDispatcher
()
->
dispatch
(
Events
::
POST_COMMIT
,
$event
);
return
$result
;
return
$result
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment