From 0482b7de8eb944ddc8ec957d76705ecc157a0765 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 13 Jan 2016 22:57:42 +0100 Subject: [PATCH] Debugging by indexing callback column in HubSub --- plugins/OStatus/classes/HubSub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5