summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/wicket/panels/BasePanel.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-04-14 19:44:47 -0400
committerJames Moger <james.moger@gitblit.com>2011-04-14 19:44:47 -0400
commit155bf78e3377910d29b2c912f58c0f496cb428e8 (patch)
treebe65a3b6276499c914f3a3f0994dfde9956f4dc9 /src/com/gitblit/wicket/panels/BasePanel.java
parentfc948cacef9c9b8c0a1e84cbc082ca67cd5f68d9 (diff)
downloadgitblit-155bf78e3377910d29b2c912f58c0f496cb428e8.tar.gz
gitblit-155bf78e3377910d29b2c912f58c0f496cb428e8.zip
Generate Keys class from gitblit.properties as part of build process.
Diffstat (limited to 'src/com/gitblit/wicket/panels/BasePanel.java')
-rw-r--r--src/com/gitblit/wicket/panels/BasePanel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/gitblit/wicket/panels/BasePanel.java b/src/com/gitblit/wicket/panels/BasePanel.java
index f81dfa9f..cdfc050c 100644
--- a/src/com/gitblit/wicket/panels/BasePanel.java
+++ b/src/com/gitblit/wicket/panels/BasePanel.java
@@ -4,6 +4,7 @@ import java.util.TimeZone;
import org.apache.wicket.markup.html.panel.Panel;
+import com.gitblit.Keys;
import com.gitblit.StoredSettings;
import com.gitblit.wicket.GitBlitWebSession;
@@ -16,6 +17,6 @@ public abstract class BasePanel extends Panel {
}
protected TimeZone getTimeZone() {
- return StoredSettings.getBoolean("useClientTimezone", false) ? GitBlitWebSession.get().getTimezone() : TimeZone.getDefault();
+ return StoredSettings.getBoolean(Keys.web_useClientTimezone, false) ? GitBlitWebSession.get().getTimezone() : TimeZone.getDefault();
}
}