Merge pull request #8207 from owncloud/translate-name-email-change

Make email, display name change translatable again
This commit is contained in:
Lukas Reschke 2014-04-15 08:47:42 +02:00
commit 1ea8b644b6
2 changed files with 2 additions and 2 deletions

View File

@ -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"];

View File

@ -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']) ) {