forked from GNUsocial/gnu-social
Debugging by indexing callback column in HubSub
This commit is contained in:
parent
24d9d76644
commit
0482b7de8e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user