Make email display name change translatable again

This commit is contained in:
Volkan Gezer 2014-04-15 00:27:54 +02:00
parent 340089f270
commit 1903895172
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']) ) {