Switched to static methods for DFRN
This commit is contained in:
parent
77c6020dc2
commit
62de6be495
7 changed files with 934 additions and 931 deletions
|
@ -44,7 +44,7 @@ function dfrn_poll_init(&$a) {
|
|||
|
||||
logger('dfrn_poll: public feed request from ' . $_SERVER['REMOTE_ADDR'] . ' for ' . $user);
|
||||
header("Content-type: application/atom+xml");
|
||||
echo dfrn_feed($a, '', $user,$last_update);
|
||||
echo dfrn::feed('', $user,$last_update);
|
||||
killme();
|
||||
}
|
||||
|
||||
|
@ -371,7 +371,7 @@ function dfrn_poll_post(&$a) {
|
|||
}
|
||||
|
||||
header("Content-type: application/atom+xml");
|
||||
$o = dfrn_feed($a,$dfrn_id, $a->argv[1], $last_update, $direction);
|
||||
$o = dfrn::feed($dfrn_id, $a->argv[1], $last_update, $direction);
|
||||
echo $o;
|
||||
killme();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue