forked from GNUsocial/gnu-social
[CONTROLLER][FeedController] Make post processing happen more automatically, reducing noise in individual controllers. Now it's enough to simply extends App\Core\Controller\FeedController, to implement a feed
This commit is contained in:
@@ -38,7 +38,7 @@ use App\Util\Common;
|
||||
|
||||
abstract class FeedController extends Controller
|
||||
{
|
||||
protected function process_feed(array $result)
|
||||
public static function post_process(array $result)
|
||||
{
|
||||
$actor = Common::actor();
|
||||
|
||||
|
Reference in New Issue
Block a user