diff options
-rw-r--r-- | users/app/designs/user/by_alias.js | 8 | ||||
-rw-r--r-- | users/app/designs/user/by_login_or_alias.js | 9 |
2 files changed, 0 insertions, 17 deletions
diff --git a/users/app/designs/user/by_alias.js b/users/app/designs/user/by_alias.js deleted file mode 100644 index dc8021a..0000000 --- a/users/app/designs/user/by_alias.js +++ /dev/null @@ -1,8 +0,0 @@ -function(doc) { - if (doc.type != 'User') { - return; - } - doc.email_aliases.forEach(function(alias){ - emit(alias.username, 1); - }); -} diff --git a/users/app/designs/user/by_login_or_alias.js b/users/app/designs/user/by_login_or_alias.js deleted file mode 100644 index 2d2096c..0000000 --- a/users/app/designs/user/by_login_or_alias.js +++ /dev/null @@ -1,9 +0,0 @@ -function(doc) { - if (doc.type != 'User') { - return; - } - emit(doc.login, 1); - doc.email_aliases.forEach(function(alias){ - emit(alias.username, 1); - }); -} |