changed name of getMapped*4 functions to create*IfNotExistsFor

This commit is contained in:
Peter 'Pita' Martischka 2011-08-10 12:38:03 +01:00
parent 578f8db311
commit dc15682a27
5 changed files with 8 additions and 8 deletions

View file

@ -52,7 +52,7 @@ exports.getAuthor4Token = function (token, callback)
* @param {String} token The mapper
* @param {Function} callback callback (err, author)
*/
exports.getMappedAuthor4 = function (authorMapper, name, callback)
exports.createAuthorIfNotExistsFor = function (authorMapper, name, callback)
{
mapAuthorWithDBKey("mapper2author", authorMapper, function(err, author)
{