1
1
Fork 0

rework the logging interface

This commit is contained in:
Mike Macgirvin 2010-10-26 22:09:13 -07:00
commit 2028e1695c
7 changed files with 47 additions and 67 deletions

View file

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