summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/Lib/Api.php4
-rw-r--r--apps/files_sharing/tests/Controller/ShareAPIControllerTest.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/lib/Lib/Api.php b/apps/files_external/lib/Lib/Api.php
index 6b10443bbdc..547285a2312 100644
--- a/apps/files_external/lib/Lib/Api.php
+++ b/apps/files_external/lib/Lib/Api.php
@@ -72,7 +72,7 @@ class Api {
* Returns the mount points visible for this user.
*
* @param array $params
- * @return \OC_OCS_Result share information
+ * @return \OC\OCS\Result share information
*/
public static function getUserMounts($params) {
$entries = array();
@@ -83,6 +83,6 @@ class Api {
$entries[] = self::formatMount($mountPoint, $mount);
}
- return new \OC_OCS_Result($entries);
+ return new \OC\OCS\Result($entries);
}
}
diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
index fc6e4572845..45134df36b7 100644
--- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
@@ -220,7 +220,7 @@ class ShareAPIControllerTest extends TestCase {
->with('ocinternal:42')
->will($this->throwException(new \OC\Share20\Exception\ShareNotFound()));
- $expected = new \OC_OCS_Result(null, 404, 'wrong share ID, share doesn\'t exist.');
+ $expected = new \OC\OCS\Result(null, 404, 'wrong share ID, share doesn\'t exist.');
$this->assertEquals($expected, $this->ocs->getShare(42));
}
*/