In very specific circumstances we can bulkDistribute 0 notices
Seems to be what caused an infinite loop on quitter.es, or I guess so anyway.
This commit is contained in:
@@ -249,7 +249,7 @@ class HubSub extends Managed_DataObject
|
||||
* @param string $atom well-formed Atom feed
|
||||
* @param array $pushCallbacks list of callback URLs
|
||||
*/
|
||||
function bulkDistribute($atom, $pushCallbacks)
|
||||
function bulkDistribute($atom, array $pushCallbacks)
|
||||
{
|
||||
$data = array('atom' => $atom,
|
||||
'topic' => $this->getTopic(),
|
||||
|
Reference in New Issue
Block a user