Remove activity stream functionality from controllers and providers.
- Remove activity stream related code and files - Update configuration for HtmlSanitizer and RetryGuzzle - Add `paginate` macro for `Collection` - Remove unused code for `Codebird` - Simplify `FrontPageController` and `NotesController` methods
This commit is contained in:
parent
e105887e3f
commit
86ac67698e
5 changed files with 0 additions and 136 deletions
|
@ -30,11 +30,6 @@ class AppServiceProvider extends ServiceProvider
|
|||
{
|
||||
Note::observe(NoteObserver::class);
|
||||
|
||||
// Request AS macro
|
||||
Request::macro('wantsActivityStream', function () {
|
||||
return Str::contains(mb_strtolower($this->header('Accept')), 'application/activity+json');
|
||||
});
|
||||
|
||||
// configure Intervention/Image
|
||||
$this->app->bind('Intervention\Image\ImageManager', function () {
|
||||
return new \Intervention\Image\ImageManager(['driver' => config('image.driver')]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue