mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 08:57:12 +02:00
Move SendEmailUtils to the /ui/server directory
SendEmailUtils is a general utility of the web console, and not specifically "only" to the Registrar console. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=226187094
This commit is contained in:
parent
56b61ad5a2
commit
51f22a15ed
8 changed files with 78 additions and 32 deletions
|
@ -509,7 +509,7 @@ public final class RegistryConfig {
|
|||
/**
|
||||
* The email address that outgoing emails from the app are sent from.
|
||||
*
|
||||
* @see google.registry.ui.server.registrar.SendEmailUtils
|
||||
* @see google.registry.ui.server.SendEmailUtils
|
||||
*/
|
||||
@Provides
|
||||
@Config("gSuiteOutgoingEmailAddress")
|
||||
|
@ -520,10 +520,10 @@ public final class RegistryConfig {
|
|||
/**
|
||||
* The display name that is used on outgoing emails sent by Nomulus.
|
||||
*
|
||||
* @see google.registry.ui.server.registrar.SendEmailUtils
|
||||
* @see google.registry.ui.server.SendEmailUtils
|
||||
*/
|
||||
@Provides
|
||||
@Config("gSuiteOutoingEmailDisplayName")
|
||||
@Config("gSuiteOutgoingEmailDisplayName")
|
||||
public static String provideGSuiteOutgoingEmailDisplayName(RegistryConfigSettings config) {
|
||||
return config.gSuite.outgoingEmailDisplayName;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue