api: Notify events only if bucket notifications are set. (#2293)

While the existing code worked, it went to an entire cycle
of constructing event structure and end up not sending it.

Avoid this in the first place, but returning quickly if
notifications are not set on the bucket.
master
Harshavardhana 9 years ago committed by Anand Babu (AB) Periasamy
parent 3054b74260
commit 77248bd6e8
Loading…
Cancel
Save