From 629a8ee9dd185faeac4e6e4ed2644dd313a62491 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Fri, 27 May 2016 20:06:04 +0200 Subject: [PATCH] Remove section comments --- src/ctrl/public-key.js | 12 ------------ src/ctrl/user-id.js | 12 ------------ src/routes/rest.js | 12 ------------ 3 files changed, 36 deletions(-) diff --git a/src/ctrl/public-key.js b/src/ctrl/public-key.js index 605e3d1..497415a 100644 --- a/src/ctrl/public-key.js +++ b/src/ctrl/public-key.js @@ -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() { } diff --git a/src/ctrl/user-id.js b/src/ctrl/user-id.js index 0879680..1b41a87 100644 --- a/src/ctrl/user-id.js +++ b/src/ctrl/user-id.js @@ -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 diff --git a/src/routes/rest.js b/src/routes/rest.js index f30c0d6..84cf84f 100644 --- a/src/routes/rest.js +++ b/src/routes/rest.js @@ -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;