Remove unused IUserSession
This commit is contained in:
parent
5bb9625f76
commit
e5c1312955
1 changed files with 1 additions and 9 deletions
|
@ -25,26 +25,18 @@ namespace OCA\Tasks\Controller;
|
|||
use \OCP\AppFramework\Controller;
|
||||
use \OCP\AppFramework\Http\TemplateResponse;
|
||||
use \OCP\IRequest;
|
||||
use \OCP\IUserSession;
|
||||
|
||||
/**
|
||||
* Controller class for main page.
|
||||
*/
|
||||
class PageController extends Controller {
|
||||
|
||||
/**
|
||||
* @var IUserSession
|
||||
*/
|
||||
private $userSession;
|
||||
|
||||
/**
|
||||
* @param string $appName
|
||||
* @param IRequest $request an instance of the request
|
||||
* @param IUserSession $userSession
|
||||
*/
|
||||
public function __construct(string $appName, IRequest $request, IUserSession $userSession) {
|
||||
public function __construct(string $appName, IRequest $request) {
|
||||
parent::__construct($appName, $request);
|
||||
$this->userSession = $userSession;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue