diff options
author | Maxence Lange <maxence@pontapreta.net> | 2017-03-07 05:25:52 +0300 |
---|---|---|
committer | Maxence Lange <maxence@pontapreta.net> | 2017-03-07 05:25:52 +0300 |
commit | 6ace7846d8b0693ddef3dec2013324f1e046ac40 (patch) | |
tree | 490d656f08bd9a504a9062de793191f150563d00 /lib/Api | |
parent | ca14dec2211395549475ff8d0f80dc39320559b4 (diff) |
0.9.0
Diffstat (limited to 'lib/Api')
-rw-r--r-- | lib/Api/Circles.php | 6 | ||||
-rw-r--r-- | lib/Api/Sharees.php | 12 |
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(); |