rework the logging interface
This commit is contained in:
parent
eb5e6aae72
commit
2028e1695c
7 changed files with 47 additions and 67 deletions
|
|
@ -923,8 +923,7 @@ function consume_feed($xml,$importer,$contact, &$hub) {
|
|||
$datarray = get_atom_elements($feed,$item);
|
||||
|
||||
if($datarray['verb'] === ACTIVITY_FOLLOW) {
|
||||
if($debugging)
|
||||
file_put_contents('salmon.out',"\n" . 'New follower.' . "\n", FILE_APPEND);
|
||||
logger('consume-feed: New follower');
|
||||
new_follower($importer,$contact,$datarray,$item);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue