Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/circles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/Api
diff options
context:
space:
mode:
authorMaxence Lange <maxence@pontapreta.net>2017-03-07 05:25:52 +0300
committerMaxence Lange <maxence@pontapreta.net>2017-03-07 05:25:52 +0300
commit6ace7846d8b0693ddef3dec2013324f1e046ac40 (patch)
tree490d656f08bd9a504a9062de793191f150563d00 /lib/Api
parentca14dec2211395549475ff8d0f80dc39320559b4 (diff)
0.9.0
Diffstat (limited to 'lib/Api')
-rw-r--r--lib/Api/Circles.php6
-rw-r--r--lib/Api/Sharees.php12
2 files changed, 14 insertions, 4 deletions
diff --git a/lib/Api/Circles.php b/lib/Api/Circles.php
index 86a38b65..cc9fa3ff 100644
--- a/lib/Api/Circles.php
+++ b/lib/Api/Circles.php
@@ -1,6 +1,6 @@
<?php
/**
- * Circles - bring cloud-users closer
+ * Circles - Bring cloud-users closer together.
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
@@ -27,11 +27,13 @@
namespace OCA\Circles\Api;
+use OCA\Circles\AppInfo\Application;
+
class Circles {
static protected function getContainer() {
- $app = new \OCA\Circles\AppInfo\Application();
+ $app = new Application();
return $app->getContainer();
}
diff --git a/lib/Api/Sharees.php b/lib/Api/Sharees.php
index 68e40614..0f901a67 100644
--- a/lib/Api/Sharees.php
+++ b/lib/Api/Sharees.php
@@ -1,6 +1,6 @@
<?php
/**
- * Circles - bring cloud-users closer
+ * Circles - Bring cloud-users closer together.
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
@@ -26,6 +26,7 @@
namespace OCA\Circles\Api;
+use OCA\Circles\AppInfo\Application;
use OCA\Circles\Model\Circle;
use OCA\Circles\Model\Member;
use OCP\Share;
@@ -35,11 +36,18 @@ class Sharees {
static protected function getContainer() {
- $app = new \OCA\Circles\AppInfo\Application();
+ $app = new Application();
return $app->getContainer();
}
+ /**
+ * @param $search
+ * @param $limit
+ * @param $offset
+ *
+ * @return array
+ */
public static function search($search, $limit, $offset) {
$c = self::getContainer();