summaryrefslogtreecommitdiffstats
path: root/settings/ajax/changedisplayname.php
diff options
context:
space:
mode:
authorDavid Reagan <reagand@lanecc.edu>2013-04-23 14:31:35 -0700
committerDavid Reagan <reagand@lanecc.edu>2013-04-23 14:31:35 -0700
commit4bee02f75cdd73c1f95f5d84ba8143ec812f1315 (patch)
treeb24f9cf858045d50a96b5c01abf89d3498584485 /settings/ajax/changedisplayname.php
parent7312cbec91e5e034c771ad7a473c744169d449c8 (diff)
downloadnextcloud-server-4bee02f75cdd73c1f95f5d84ba8143ec812f1315.tar.gz
nextcloud-server-4bee02f75cdd73c1f95f5d84ba8143ec812f1315.zip
Fixed comment in personal.js. Changed message text in changedisplayname.php.
Diffstat (limited to 'settings/ajax/changedisplayname.php')
-rw-r--r--settings/ajax/changedisplayname.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/changedisplayname.php b/settings/ajax/changedisplayname.php
index dea07aad14c..faf962fbdd7 100644
--- a/settings/ajax/changedisplayname.php
+++ b/settings/ajax/changedisplayname.php
@@ -28,7 +28,7 @@ if(is_null($userstatus)) {
// Return Success story
if( OC_User::setDisplayName( $username, $displayName )) {
- OC_JSON::success(array("data" => array( "message" => $l->t('Your display name was changed'), "username" => $username, 'displayName' => $displayName )));
+ OC_JSON::success(array("data" => array( "message" => $l->t('Your display name has been changed.'), "username" => $username, 'displayName' => $displayName )));
}
else{
OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change display name"), 'displayName' => OC_User::getDisplayName($username) )));