diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 01:44:12 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 22:52:26 +0200 |
commit | 21bd539847f33c3889c4f58f14afd672f54a410a (patch) | |
tree | d6ff27e38727197b60d1c2c47968b7f64d4f5c2f /controller/pagecontroller.php | |
parent | fcef0800a24818305e8a52761b05f87e13206689 (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.php | 10 |
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); } |