]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Debugging by indexing callback column in HubSub
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 13 Jan 2016 21:57:42 +0000 (22:57 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 13 Jan 2016 21:57:42 +0000 (22:57 +0100)
plugins/OStatus/classes/HubSub.php

index fe911677652e0a132499f1bd5f8492156707f642..6499e1b4cf081307375b1626ea3d1c7a7cc03f63 100644 (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;
             }