refactor: remove dead code

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/877/head
Varun Patil 2023-10-14 17:54:29 -07:00
parent 1752396bf8
commit f992d19932
1 changed files with 0 additions and 3 deletions

View File

@ -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;
} }