Revert "Add a User Preference to Receive only Plaintext Emails"
This reverts commit 39777363a6.
Reason for revert: the frontend part of this change doesn't work.
Change-Id: I53138e939a1b98578787457e48743fdc8abf658c
This commit is contained in:
committed by
David Pursehouse
parent
ab879094c0
commit
0aeceaa5be
@@ -22,7 +22,6 @@ import com.google.gerrit.extensions.client.GeneralPreferencesInfo.DateFormat;
|
||||
import com.google.gerrit.extensions.client.GeneralPreferencesInfo.DefaultBase;
|
||||
import com.google.gerrit.extensions.client.GeneralPreferencesInfo.DiffView;
|
||||
import com.google.gerrit.extensions.client.GeneralPreferencesInfo.DownloadCommand;
|
||||
import com.google.gerrit.extensions.client.GeneralPreferencesInfo.EmailFormat;
|
||||
import com.google.gerrit.extensions.client.GeneralPreferencesInfo.EmailStrategy;
|
||||
import com.google.gerrit.extensions.client.GeneralPreferencesInfo.ReviewCategoryStrategy;
|
||||
import com.google.gerrit.extensions.client.GeneralPreferencesInfo.TimeFormat;
|
||||
@@ -53,7 +52,6 @@ public class GeneralPreferences extends JavaScriptObject {
|
||||
p.legacycidInChangeTable(d.legacycidInChangeTable);
|
||||
p.muteCommonPathPrefixes(d.muteCommonPathPrefixes);
|
||||
p.signedOffBy(d.signedOffBy);
|
||||
p.emailFormat(d.emailFormat);
|
||||
p.reviewCategoryStrategy(d.getReviewCategoryStrategy());
|
||||
p.diffView(d.getDiffView());
|
||||
p.emailStrategy(d.emailStrategy);
|
||||
@@ -134,13 +132,6 @@ public class GeneralPreferences extends JavaScriptObject {
|
||||
|
||||
private native String emailStrategyRaw() /*-{ return this.email_strategy }-*/;
|
||||
|
||||
public final EmailFormat emailFormat() {
|
||||
String s = emailFormatRaw();
|
||||
return s != null ? EmailFormat.valueOf(s) : null;
|
||||
}
|
||||
|
||||
private native String emailFormatRaw() /*-{ return this.email_format }-*/;
|
||||
|
||||
public final DefaultBase defaultBaseForMerges() {
|
||||
String s = defaultBaseForMergesRaw();
|
||||
return s != null ? DefaultBase.valueOf(s) : null;
|
||||
@@ -212,12 +203,6 @@ public class GeneralPreferences extends JavaScriptObject {
|
||||
|
||||
private native void emailStrategyRaw(String s) /*-{ this.email_strategy = s }-*/;
|
||||
|
||||
public final void emailFormat(EmailFormat f) {
|
||||
emailFormatRaw(f != null ? f.toString() : null);
|
||||
}
|
||||
|
||||
private native void emailFormatRaw(String s) /*-{ this.email_format = s }-*/;
|
||||
|
||||
public final void defaultBaseForMerges(DefaultBase b) {
|
||||
defaultBaseForMergesRaw(b != null ? b.toString() : null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user