refactor: remove dead code
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/877/head
parent
1752396bf8
commit
f992d19932
|
@ -14,18 +14,15 @@ use OCP\IRequest;
|
||||||
|
|
||||||
class PageController extends Controller
|
class PageController extends Controller
|
||||||
{
|
{
|
||||||
protected $userId;
|
|
||||||
protected $appName;
|
protected $appName;
|
||||||
protected IEventDispatcher $eventDispatcher;
|
protected IEventDispatcher $eventDispatcher;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
string $AppName,
|
string $AppName,
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
$UserId,
|
|
||||||
IEventDispatcher $eventDispatcher
|
IEventDispatcher $eventDispatcher
|
||||||
) {
|
) {
|
||||||
parent::__construct($AppName, $request);
|
parent::__construct($AppName, $request);
|
||||||
$this->userId = $UserId;
|
|
||||||
$this->appName = $AppName;
|
$this->appName = $AppName;
|
||||||
$this->eventDispatcher = $eventDispatcher;
|
$this->eventDispatcher = $eventDispatcher;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue