summaryrefslogtreecommitdiffstats
path: root/controller/pagecontroller.php
diff options
context:
space:
mode:
Diffstat (limited to 'controller/pagecontroller.php')
-rw-r--r--controller/pagecontroller.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php
index 6f82e0640..f0d6b78e3 100644
--- a/controller/pagecontroller.php
+++ b/controller/pagecontroller.php
@@ -25,16 +25,16 @@
namespace OCA\News\Controller;
-use \OCA\AppFramework\Controller\Controller;
-use \OCA\AppFramework\Core\API;
-use \OCA\AppFramework\Http\Request;
+use \OCP\IRequest;
+use \OCP\AppFramework\Controller;
+use \OCA\News\Core\API;
class PageController extends Controller {
- public function __construct(API $api, Request $request){
- parent::__construct($api, $request);
+ public function __construct(API $api, IRequest $request){
+ parent::__construct($api->getAppName(), $request);
}