Merge pull request #8207 from owncloud/translate-name-email-change
Make email, display name change translatable again
This commit is contained in:
commit
1ea8b644b6
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
OCP\JSON::callCheck();
|
||||
OC_JSON::checkLoggedIn();
|
||||
|
||||
$l=OC_L10N::get('core');
|
||||
$l=OC_L10N::get('settings');
|
||||
|
||||
$username = isset($_POST["username"]) ? $_POST["username"] : OC_User::getUser();
|
||||
$displayName = $_POST["displayName"];
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
OC_JSON::checkLoggedIn();
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
$l=OC_L10N::get('core');
|
||||
$l=OC_L10N::get('settings');
|
||||
|
||||
// Get data
|
||||
if( isset( $_POST['email'] ) && OC_Mail::validateAddress($_POST['email']) ) {
|
||||
|
|
Loading…
Reference in a new issue