Remove unused signInAnchor
Change-Id: Ie6c6527aa8277e61bf2352b41564c3e017dda968 Signed-off-by: Eryk Szymanski <eryksz@gmail.com>
This commit is contained in:
@@ -439,12 +439,7 @@ public class Gerrit implements EntryPoint {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Anchor signInAnchor;
|
|
||||||
|
|
||||||
private static void dispatchHistoryHooks(String token) {
|
private static void dispatchHistoryHooks(String token) {
|
||||||
if (signInAnchor != null) {
|
|
||||||
signInAnchor.setHref(loginRedirect(token));
|
|
||||||
}
|
|
||||||
ApiGlue.fireEvent("history", token);
|
ApiGlue.fireEvent("history", token);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -558,9 +553,6 @@ public class Gerrit implements EntryPoint {
|
|||||||
? PageLinks.MINE
|
? PageLinks.MINE
|
||||||
: PageLinks.toChangeQuery("status:open");
|
: PageLinks.toChangeQuery("status:open");
|
||||||
}
|
}
|
||||||
if (signInAnchor != null) {
|
|
||||||
signInAnchor.setHref(loginRedirect(token));
|
|
||||||
}
|
|
||||||
|
|
||||||
saveDefaultTheme();
|
saveDefaultTheme();
|
||||||
if (hpd.messages != null) {
|
if (hpd.messages != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user