Fossil SCM
Omit TH1 hooks setting when it is not enabled.
Commit
ff8ac8db0aea46b3e49fad088b77ad28bd76c884
Parent
5fc4366ca6dbc06…
2 files changed
+2
+2
+2
| --- src/configure.c | ||
| +++ src/configure.c | ||
| @@ -97,11 +97,13 @@ | ||
| 97 | 97 | { "timeline-max-comment", CONFIGSET_SKIN }, |
| 98 | 98 | { "timeline-plaintext", CONFIGSET_SKIN }, |
| 99 | 99 | { "adunit", CONFIGSET_SKIN }, |
| 100 | 100 | { "adunit-omit-if-admin", CONFIGSET_SKIN }, |
| 101 | 101 | { "adunit-omit-if-user", CONFIGSET_SKIN }, |
| 102 | +#ifdef FOSSIL_ENABLE_TH1_HOOKS | |
| 102 | 103 | { "th1-hooks", CONFIGSET_TH1 }, |
| 104 | +#endif | |
| 103 | 105 | { "th1-setup", CONFIGSET_TH1 }, |
| 104 | 106 | { "th1-uri-regexp", CONFIGSET_TH1 }, |
| 105 | 107 | |
| 106 | 108 | #ifdef FOSSIL_ENABLE_TCL |
| 107 | 109 | { "tcl", CONFIGSET_TH1 }, |
| 108 | 110 |
| --- src/configure.c | |
| +++ src/configure.c | |
| @@ -97,11 +97,13 @@ | |
| 97 | { "timeline-max-comment", CONFIGSET_SKIN }, |
| 98 | { "timeline-plaintext", CONFIGSET_SKIN }, |
| 99 | { "adunit", CONFIGSET_SKIN }, |
| 100 | { "adunit-omit-if-admin", CONFIGSET_SKIN }, |
| 101 | { "adunit-omit-if-user", CONFIGSET_SKIN }, |
| 102 | { "th1-hooks", CONFIGSET_TH1 }, |
| 103 | { "th1-setup", CONFIGSET_TH1 }, |
| 104 | { "th1-uri-regexp", CONFIGSET_TH1 }, |
| 105 | |
| 106 | #ifdef FOSSIL_ENABLE_TCL |
| 107 | { "tcl", CONFIGSET_TH1 }, |
| 108 |
| --- src/configure.c | |
| +++ src/configure.c | |
| @@ -97,11 +97,13 @@ | |
| 97 | { "timeline-max-comment", CONFIGSET_SKIN }, |
| 98 | { "timeline-plaintext", CONFIGSET_SKIN }, |
| 99 | { "adunit", CONFIGSET_SKIN }, |
| 100 | { "adunit-omit-if-admin", CONFIGSET_SKIN }, |
| 101 | { "adunit-omit-if-user", CONFIGSET_SKIN }, |
| 102 | #ifdef FOSSIL_ENABLE_TH1_HOOKS |
| 103 | { "th1-hooks", CONFIGSET_TH1 }, |
| 104 | #endif |
| 105 | { "th1-setup", CONFIGSET_TH1 }, |
| 106 | { "th1-uri-regexp", CONFIGSET_TH1 }, |
| 107 | |
| 108 | #ifdef FOSSIL_ENABLE_TCL |
| 109 | { "tcl", CONFIGSET_TH1 }, |
| 110 |
M
src/db.c
+2
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -2201,11 +2201,13 @@ | ||
| 2201 | 2201 | { "ssl-identity", 0, 40, 0, 0, "" }, |
| 2202 | 2202 | #ifdef FOSSIL_ENABLE_TCL |
| 2203 | 2203 | { "tcl", 0, 0, 0, 0, "off" }, |
| 2204 | 2204 | { "tcl-setup", 0, 40, 1, 1, "" }, |
| 2205 | 2205 | #endif |
| 2206 | +#ifdef FOSSIL_ENABLE_TH1_HOOKS | |
| 2206 | 2207 | { "th1-hooks", 0, 0, 0, 0, "off" }, |
| 2208 | +#endif | |
| 2207 | 2209 | { "th1-setup", 0, 40, 1, 1, "" }, |
| 2208 | 2210 | { "th1-uri-regexp", 0, 40, 1, 0, "" }, |
| 2209 | 2211 | { "web-browser", 0, 32, 0, 0, "" }, |
| 2210 | 2212 | { "white-foreground", 0, 0, 0, 0, "off" }, |
| 2211 | 2213 | { 0,0,0,0,0,0 } |
| 2212 | 2214 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -2201,11 +2201,13 @@ | |
| 2201 | { "ssl-identity", 0, 40, 0, 0, "" }, |
| 2202 | #ifdef FOSSIL_ENABLE_TCL |
| 2203 | { "tcl", 0, 0, 0, 0, "off" }, |
| 2204 | { "tcl-setup", 0, 40, 1, 1, "" }, |
| 2205 | #endif |
| 2206 | { "th1-hooks", 0, 0, 0, 0, "off" }, |
| 2207 | { "th1-setup", 0, 40, 1, 1, "" }, |
| 2208 | { "th1-uri-regexp", 0, 40, 1, 0, "" }, |
| 2209 | { "web-browser", 0, 32, 0, 0, "" }, |
| 2210 | { "white-foreground", 0, 0, 0, 0, "off" }, |
| 2211 | { 0,0,0,0,0,0 } |
| 2212 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -2201,11 +2201,13 @@ | |
| 2201 | { "ssl-identity", 0, 40, 0, 0, "" }, |
| 2202 | #ifdef FOSSIL_ENABLE_TCL |
| 2203 | { "tcl", 0, 0, 0, 0, "off" }, |
| 2204 | { "tcl-setup", 0, 40, 1, 1, "" }, |
| 2205 | #endif |
| 2206 | #ifdef FOSSIL_ENABLE_TH1_HOOKS |
| 2207 | { "th1-hooks", 0, 0, 0, 0, "off" }, |
| 2208 | #endif |
| 2209 | { "th1-setup", 0, 40, 1, 1, "" }, |
| 2210 | { "th1-uri-regexp", 0, 40, 1, 0, "" }, |
| 2211 | { "web-browser", 0, 32, 0, 0, "" }, |
| 2212 | { "white-foreground", 0, 0, 0, 0, "off" }, |
| 2213 | { 0,0,0,0,0,0 } |
| 2214 |