diff --git a/plugins/OStatus/classes/HubSub.php b/plugins/OStatus/classes/HubSub.php index fe91167765..6499e1b4cf 100644 --- a/plugins/OStatus/classes/HubSub.php +++ b/plugins/OStatus/classes/HubSub.php @@ -64,6 +64,7 @@ class HubSub extends Managed_DataObject ), 'primary key' => array('hashkey'), 'indexes' => array( + 'hubsub_callback_idx' => array('callback'), 'hubsub_topic_idx' => array('topic'), ), ); @@ -314,7 +315,6 @@ class HubSub extends Managed_DataObject $orig = clone($this); $this->callback = $httpscallback; $this->hashkey = self::hashkey($this->getTopic(), $this->callback); - common_debug('HubSub DEBUG, from '._ve($orig).' to '._ve($this)); $this->updateWithKeys($orig, 'hashkey'); return true; }