Some fixes to the contributor API methods

Mostly these are coding style adjustments
This commit is contained in:
Marcel Klehr 2012-06-27 21:02:41 +02:00
parent 6f9d7a5db7
commit 93b50d4a29
2 changed files with 4 additions and 7 deletions

View file

@ -84,7 +84,7 @@ Pad.prototype.appendRevision = function appendRevision(aChangeset, author) {
this.saveToDatabase();
// set the author to pad
if(author != '')
if(author)
authorManager.addPad(author, this.id);
};