summaryrefslogtreecommitdiffstats
path: root/controller/foldercontroller.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-02 00:21:22 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-02 00:21:22 +0100
commit703502d7c4d5f06a2d3425b7b7eef62c7fff9863 (patch)
tree4c717edd6c22d23035c601c65376abb5d12d4921 /controller/foldercontroller.php
parentac423f6ca08a86d66544c50a0277e3ff00acb467 (diff)
spaces to tabs
Diffstat (limited to 'controller/foldercontroller.php')
-rw-r--r--controller/foldercontroller.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/controller/foldercontroller.php b/controller/foldercontroller.php
index 48a0d1694..e0ae5f8fb 100644
--- a/controller/foldercontroller.php
+++ b/controller/foldercontroller.php
@@ -33,23 +33,23 @@ use \OCA\AppFramework\Http\Request;
class FolderController extends Controller {
- public function __construct(API $api, Request $request, $folderMapper){
- parent::__construct($api, $request);
- $this->folderMapper = $folderMapper;
- }
-
-
- /**
- * @IsAdminExemption
- * @IsSubAdminExemption
- * @Ajax
- *
- * Returns all folders
- */
- public function getAll(){
- $folders = $this->folderMapper->getAll();
- return $this->renderJSON($folders);
- }
+ public function __construct(API $api, Request $request, $folderMapper){
+ parent::__construct($api, $request);
+ $this->folderMapper = $folderMapper;
+ }
+
+
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ *
+ * Returns all folders
+ */
+ public function getAll(){
+ $folders = $this->folderMapper->getAll();
+ return $this->renderJSON($folders);
+ }
} \ No newline at end of file