summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Mitchell <etherpad@jefferai.org>2010-04-07 19:52:12 -0400
committerJeff Mitchell <etherpad@jefferai.org>2010-04-07 19:52:12 -0400
commitbe608cc598f55ae7d72811fc4f26b38afca1795e (patch)
treeffd1d6cc067b8bfd997d1ddade7ee4db7e84dd22
parent487168379a5a16598286997f1e1110eeb0c0a197 (diff)
downloadetherpad-be608cc598f55ae7d72811fc4f26b38afca1795e.tar.gz
etherpad-be608cc598f55ae7d72811fc4f26b38afca1795e.tar.bz2
etherpad-be608cc598f55ae7d72811fc4f26b38afca1795e.zip
I didn't realize someone had gotten rid of SUPERDOMAINS. Use domainEnabled instead.
-rw-r--r--etherpad/src/etherpad/pro/pro_utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/etherpad/src/etherpad/pro/pro_utils.js b/etherpad/src/etherpad/pro/pro_utils.js
index 3c5a7c9..2322262 100644
--- a/etherpad/src/etherpad/pro/pro_utils.js
+++ b/etherpad/src/etherpad/pro/pro_utils.js
@@ -49,7 +49,7 @@ function getRequestSuperdomain() {
var parts = request.domain.split('.');
while (parts.length > 0) {
var domain = parts.join('.');
- if (SUPERDOMAINS[domain]) {
+ if (domainEnabled[domain]) {
return domain;
}
parts.shift();