Cleaning the code from several tests.
This commit is contained in:
parent
4750775752
commit
a3118e0a6e
|
@ -115,7 +115,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0,
|
|||
else
|
||||
$sort = 'ASC';
|
||||
|
||||
// Include answers to status.net posts in public feeds
|
||||
// Include answers to status.net posts in pubsub feeds
|
||||
if($forpubsub) {
|
||||
$sql_post_table = "INNER JOIN `thread` ON `thread`.`iid` = `item`.`parent` ";
|
||||
$visibility = "OR (`item`.`network` = 'dfrn' AND `thread`.`network`='stat')";
|
||||
|
|
|
@ -46,9 +46,8 @@ function handle_pubsubhubbub() {
|
|||
if ($new_push > 30) // OK, let's give up
|
||||
$new_push = 0;
|
||||
|
||||
q("UPDATE `push_subscriber` SET `push` = %d, last_update = '%s' WHERE id = %d",
|
||||
q("UPDATE `push_subscriber` SET `push` = %d WHERE id = %d",
|
||||
$new_push,
|
||||
dbesc($date_now),
|
||||
intval($rr['id']));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ function get_salmon_key($uri,$keyhash) {
|
|||
|
||||
function slapper($owner,$url,$slap) {
|
||||
|
||||
logger('slapper called for '.$owner['url'].' to '.$url.' . Data: ' . $slap);
|
||||
logger('slapper called. Data: ' . $slap);
|
||||
|
||||
// does contact have a salmon endpoint?
|
||||
|
||||
|
|
Loading…
Reference in a new issue