From: Mikael Nordfeldth Date: Wed, 13 Jan 2016 21:57:42 +0000 (+0100) Subject: Debugging by indexing callback column in HubSub X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0482b7de8eb944ddc8ec957d76705ecc157a0765;p=quix0rs-gnu-social.git Debugging by indexing callback column in HubSub --- 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; }