Switched to static methods for DFRN

This commit is contained in:
Michael Vogel 2016-01-25 15:20:58 +01:00
commit 62de6be495
7 changed files with 934 additions and 931 deletions

View file

@ -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();