diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-03 13:37:06 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-03 13:37:06 +0200 |
commit | fd7469db9e1cd1fd85e3a8a18aac87c7040ec8e7 (patch) | |
tree | a4b851f92d5f587ea96e19dc11a491d0cc356118 /core/ajax | |
parent | 3ce4bf5ec70ed4cfd0e6d619e2f7ae0a1bfdb06c (diff) | |
download | nextcloud-server-fd7469db9e1cd1fd85e3a8a18aac87c7040ec8e7.tar.gz nextcloud-server-fd7469db9e1cd1fd85e3a8a18aac87c7040ec8e7.zip |
coding-style fixes
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/share.php | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php index 1e954ac4f9d..8f5432a0fcb 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -129,7 +129,13 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo } $url = \OCP\Util::linkToAbsolute('files', 'index.php', array("dir" => $foldername)); - $text = $defaults->getShareNotificationText(\OCP\User::getDisplayName(), $filename, $itemType, $url, $expiration); + $text = $defaults->getShareNotificationText( + \OCP\User::getDisplayName(), + $filename, + $itemType, + $url, + $expiration + ); try { OCP\Util::sendMail( @@ -153,7 +159,13 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo if (empty($noMail)) { OCP\JSON::success(); } else { - OCP\JSON::error(array('data' => array('message' => $l->t("Couldn't send mail to following users: %s ", implode(', ', $noMail))))); + OCP\JSON::error(array( + 'data' => array( + 'message' => $l->t("Couldn't send mail to following users: %s ", + implode(', ', $noMail) + ) + ) + )); } break; case 'informRecipientsDisabled': |