From 60c183f10a1951b19ca6ac12c3259f4415916c7c Mon Sep 17 00:00:00 2001 From: Egil Moeller Date: Thu, 8 Apr 2010 18:42:29 +0200 Subject: Revert "Fix typo in previous conversion from SUPERDOMAINS" This reverts commit 746609a16cd1c1b8bb725f89fef1869af0875d5e. --- etherpad/src/etherpad/pro/pro_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etherpad/src/etherpad/pro/pro_utils.js b/etherpad/src/etherpad/pro/pro_utils.js index 1198b95..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 (domainEnabled(domain)) { + if (domainEnabled[domain]) { return domain; } parts.shift(); -- cgit v1.2.3-1-g7c22