diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-24 13:45:52 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-24 13:45:52 -0500 |
commit | 0dbf1d02600ef4075ceffe9c62c1ed32cc24592f (patch) | |
tree | 2db27ca226035add120fec8f2ca529c84001d0f6 /apps/files_external/ajax | |
parent | 5fb4ed2d92b28bfcd0647233421a3614b00e6d4c (diff) | |
download | nextcloud-server-0dbf1d02600ef4075ceffe9c62c1ed32cc24592f.tar.gz nextcloud-server-0dbf1d02600ef4075ceffe9c62c1ed32cc24592f.zip |
Show status icons for mount points in external storage UI
Diffstat (limited to 'apps/files_external/ajax')
-rw-r--r-- | apps/files_external/ajax/addMountPoint.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_external/ajax/addMountPoint.php b/apps/files_external/ajax/addMountPoint.php index 4cd8871b310..fed2ddfcf3d 100644 --- a/apps/files_external/ajax/addMountPoint.php +++ b/apps/files_external/ajax/addMountPoint.php @@ -10,9 +10,10 @@ if ($_POST['isPersonal'] == 'true') { OCP\JSON::checkAdminUser(); $isPersonal = false; } -OC_Mount_Config::addMountPoint($_POST['mountPoint'], +$status = OC_Mount_Config::addMountPoint($_POST['mountPoint'], $_POST['class'], $_POST['classOptions'], $_POST['mountType'], $_POST['applicable'], - $isPersonal);
\ No newline at end of file + $isPersonal); +OCP\JSON::success(array('data' => array('message' => $status)));
\ No newline at end of file |