ActivityPub-federated video streaming platform using P2P directly in your web browser
Remove unused comments
Chocobozzzab7b4f525b2e
diff --git a/server/helpers/regexp.ts b/server/helpers/regexp.tsindex cfc2be4882..257054cead 100644--- a/server/helpers/regexp.ts+++ b/server/helpers/regexp.ts@@ -4,7 +4,6 @@ function regexpCapture (str: string, regex: RegExp, maxIterations = 100) {let m: RegExpExecArraylet i = 0- // tslint:disable:no-conditional-assignmentwhile ((m = regex.exec(str)) !== null && i < maxIterations) {// This is necessary to avoid infinite loops with zero-width matchesif (m.index === regex.lastIndex) {diff --git a/server/initializers/migrations/0135-video-channel-actor.ts b/server/initializers/migrations/0135-video-channel-actor.tsindex 3f620dfa3b..6989e1cbb1 100644--- a/server/initializers/migrations/0135-video-channel-actor.ts+++ b/server/initializers/migrations/0135-video-channel-actor.ts@@ -56,7 +56,6 @@ async function up (utils: {}{- // tslint:disable:no-trailing-whitespaceconst query1 =`INSERT INTO "actor"diff --git a/shared/extra-utils/miscs/sql-command.ts b/shared/extra-utils/miscs/sql-command.tsindex 80c8cd2715..bedb3349b4 100644--- a/shared/extra-utils/miscs/sql-command.ts+++ b/shared/extra-utils/miscs/sql-command.ts@@ -50,7 +50,6 @@ export class SQLCommand extends AbstractCommand {async countVideoViewsOf (uuid: string) {const seq = this.getSequelize()- // tslint:disableconst query = 'SELECT SUM("videoView"."views") AS "total" FROM "videoView" ' +`INNER JOIN "video" ON "video"."id" = "videoView"."videoId" WHERE "video"."uuid" = '${uuid}'`