mirror of
https://github.com/discourse/discourse.git
synced 2025-03-02 00:00:54 +08:00
DEV: Remove unused code (#26556)
Left over from e3cfb1967d531a09b475bba45b33605eabd5a0d8
This commit is contained in:
parent
e34da15b55
commit
8080ced95b
@ -166,17 +166,6 @@ class SectionLink {
|
||||
return this.value === undefined || this.validValue ? "" : "warning";
|
||||
}
|
||||
|
||||
get external() {
|
||||
return (
|
||||
this.value &&
|
||||
!(
|
||||
this.value.startsWith(this.httpHost) ||
|
||||
this.value.startsWith(this.httpsHost) ||
|
||||
this.value.startsWith("/")
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
get isPrimary() {
|
||||
return this.segment === "primary";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user