Remove section comments

This commit is contained in:
Tankred Hase 2016-05-27 20:06:04 +02:00
parent 2d07c34060
commit 629a8ee9dd
3 changed files with 0 additions and 36 deletions

View File

@ -48,10 +48,6 @@ class PublicKey {
this._userid = userid;
}
//
// Create/Update
//
/**
* Persist a new public key
* @param {String} options.publicKeyArmored The ascii armored pgp key block
@ -106,10 +102,6 @@ class PublicKey {
}
//
// Read
//
/**
* Fetch a verified public key from the database. Either the key id or the
* email address muss be provided.
@ -130,10 +122,6 @@ class PublicKey {
}
}
//
// Delete
//
flagForRemove() {
}

View File

@ -43,10 +43,6 @@ class UserId {
this._mongo = mongo;
}
//
// Create/Update
//
/**
* Store a list of user ids. There can only be one verified user ID for
* an email address at any given time.
@ -62,10 +58,6 @@ class UserId {
}
}
//
// Read
//
/**
* Get a verified user IDs either by key id or email address.
* There can only be one verified user ID for an email address
@ -96,10 +88,6 @@ class UserId {
}
}
//
// Delete
//
/**
* Remove all user ids matching a certain query
* @param {String} options.keyid The public key id

View File

@ -33,10 +33,6 @@ class REST {
this._publicKey = publicKey;
}
//
// Create/Update
//
/**
* Public key upload via http POST
* @param {Object} ctx The koa request/response context
@ -55,10 +51,6 @@ class REST {
yield;
}
//
// Read
//
/**
* Public key fetch via http GET
* @param {Object} ctx The koa request/response context
@ -83,10 +75,6 @@ class REST {
ctx.body = (yield this._publicKey.get(q)).publicKeyArmored;
}
//
// Delete
//
*remove(ctx) {
ctx.throw(501, 'Not implemented!');
yield;