Debugging by indexing callback column in HubSub

This commit is contained in:
Mikael Nordfeldth 2016-01-13 22:57:42 +01:00
parent 24d9d76644
commit 0482b7de8e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}