summaryrefslogtreecommitdiff
path: root/src/node/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/db')
-rw-r--r--src/node/db/AuthorManager.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/node/db/AuthorManager.js b/src/node/db/AuthorManager.js
index 2a6625c8..28b2dd91 100644
--- a/src/node/db/AuthorManager.js
+++ b/src/node/db/AuthorManager.js
@@ -141,22 +141,6 @@ exports.getAuthor = function (author, callback)
db.get("globalAuthor:" + author, callback);
}
-/**
- * Returns the Author Name of the author
- * @param {String} author The id of the author
- * @param {Function} callback callback(err, name)
- */
-
-exports.getAuthorName = function (authorID, callback)
-{
- db.getSub("globalAuthor:" + author, ["name"], callback);
- console.log(authorID);
- db.getSub("globalAuthor:" + authorID, ["name"], function(err, authorName){
- if(ERR(err, callback)) return;
- callback(null, {authorName: authorName});
- });
-}
-
/**