1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Aligned constructors across controller classes

Since they no longer needed to run the parent contructor
since the parent constructor was no longer needed.
This commit is contained in:
Dan Brown
2020-11-21 17:08:37 +00:00
parent f76a2a69f7
commit 5e01c30882
32 changed files with 0 additions and 49 deletions

View File

@ -1,10 +1,8 @@
<?php namespace BookStack\Http\Controllers;
use BookStack\Actions\ActivityType;
use BookStack\Entities\Managers\PageContent;
use BookStack\Entities\Repos\PageRepo;
use BookStack\Exceptions\NotFoundException;
use BookStack\Facades\Activity;
use GatherContent\Htmldiff\Htmldiff;
class PageRevisionController extends Controller
@ -18,7 +16,6 @@ class PageRevisionController extends Controller
public function __construct(PageRepo $pageRepo)
{
$this->pageRepo = $pageRepo;
parent::__construct();
}
/**