Remove unused IUserSession

This commit is contained in:
Raimund Schlüßler 2019-06-14 14:38:21 +02:00
parent 5bb9625f76
commit e5c1312955
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178

View file

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