summaryrefslogtreecommitdiffstats
path: root/controller/pagecontroller.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 01:44:12 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 22:52:26 +0200
commit21bd539847f33c3889c4f58f14afd672f54a410a (patch)
treed6ff27e38727197b60d1c2c47968b7f64d4f5c2f /controller/pagecontroller.php
parentfcef0800a24818305e8a52761b05f87e13206689 (diff)
ported to owncloud internal appframework classes, confused with how to start the app and define deps
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);
}