Code Duplication    Length = 7-7 lines in 5 locations

lib/Db/MembersRequestBuilder.php 2 locations

@@ 42-48 (lines=7) @@
39
	 *
40
	 * @return IQueryBuilder
41
	 */
42
	protected function getMembersInsertSql() {
43
		$qb = $this->dbConnection->getQueryBuilder();
44
		$qb->insert(self::TABLE_MEMBERS)
45
		   ->setValue('joined', $qb->createFunction('NOW()'));
46
47
		return $qb;
48
	}
49
50
51
	/**
@@ 87-93 (lines=7) @@
84
	 *
85
	 * @return IQueryBuilder
86
	 */
87
	protected function getGroupsInsertSql() {
88
		$qb = $this->dbConnection->getQueryBuilder();
89
		$qb->insert(self::TABLE_GROUPS)
90
		   ->setValue('joined', $qb->createFunction('NOW()'));
91
92
		return $qb;
93
	}
94
95
96
	/**

lib/Db/CirclesRequestBuilder.php 2 locations

@@ 344-350 (lines=7) @@
341
	 *
342
	 * @return IQueryBuilder
343
	 */
344
	protected function getSharesInsertSql() {
345
		$qb = $this->dbConnection->getQueryBuilder();
346
		$qb->insert(self::TABLE_SHARES)
347
		   ->setValue('creation', $qb->createFunction('NOW()'));
348
349
		return $qb;
350
	}
351
352
353
	/**
@@ 378-384 (lines=7) @@
375
	 *
376
	 * @return IQueryBuilder
377
	 */
378
	protected function getCirclesInsertSql() {
379
		$qb = $this->dbConnection->getQueryBuilder();
380
		$qb->insert(self::TABLE_CIRCLES)
381
		   ->setValue('creation', $qb->createFunction('NOW()'));
382
383
		return $qb;
384
	}
385
386
387
	/**

lib/Db/FederatedLinksRequestBuilder.php 1 location

@@ 62-68 (lines=7) @@
59
	 *
60
	 * @return IQueryBuilder
61
	 */
62
	protected function getLinksInsertSql() {
63
		$qb = $this->dbConnection->getQueryBuilder();
64
		$qb->insert(self::TABLE_LINKS)
65
		   ->setValue('creation', $qb->createFunction('NOW()'));
66
67
		return $qb;
68
	}
69
70
71
	/**