mirror of
https://github.com/friendica/friendica
synced 2024-11-18 13:03:41 +00:00
Add feedback
This commit is contained in:
parent
dc46af5ea1
commit
a3a32af5c1
3 changed files with 6 additions and 1 deletions
|
@ -99,6 +99,9 @@ class Arguments
|
||||||
return $this->argv;
|
return $this->argv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string The used HTTP method
|
||||||
|
*/
|
||||||
public function getMethod()
|
public function getMethod()
|
||||||
{
|
{
|
||||||
return $this->method;
|
return $this->method;
|
||||||
|
|
|
@ -223,7 +223,7 @@ abstract class BaseModule implements ICanHandleRequests
|
||||||
|
|
||||||
$this->profiler->set(microtime(true) - $timestamp, 'init');
|
$this->profiler->set(microtime(true) - $timestamp, 'init');
|
||||||
|
|
||||||
switch ($this->args->getMethod() ?? Router::GET) {
|
switch ($this->args->getMethod()) {
|
||||||
case Router::DELETE:
|
case Router::DELETE:
|
||||||
$this->delete($request);
|
$this->delete($request);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -73,6 +73,8 @@ class Followers extends BaseApi
|
||||||
$params['order'] = ['cid'];
|
$params['order'] = ['cid'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$accounts = [];
|
||||||
|
|
||||||
$followers = DBA::select('contact-relation', ['relation-cid'], $condition, $params);
|
$followers = DBA::select('contact-relation', ['relation-cid'], $condition, $params);
|
||||||
while ($follower = DBA::fetch($followers)) {
|
while ($follower = DBA::fetch($followers)) {
|
||||||
self::setBoundaries($follower['relation-cid']);
|
self::setBoundaries($follower['relation-cid']);
|
||||||
|
|
Loading…
Reference in a new issue