Code Duplication    Length = 7-7 lines in 5 locations

lib/Db/MembersRequestBuilder.php 2 locations

@@ 65-71 (lines=7) @@
62
	 *
63
	 * @return IQueryBuilder
64
	 */
65
	protected function getMembersInsertSql() {
66
		$qb = $this->dbConnection->getQueryBuilder();
67
		$qb->insert(self::TABLE_MEMBERS)
68
		   ->setValue('joined', $qb->createFunction('NOW()'));
69
70
		return $qb;
71
	}
72
73
74
	/**
@@ 112-118 (lines=7) @@
109
	 *
110
	 * @return IQueryBuilder
111
	 */
112
	protected function getGroupsInsertSql() {
113
		$qb = $this->dbConnection->getQueryBuilder();
114
		$qb->insert(self::TABLE_GROUPS)
115
		   ->setValue('joined', $qb->createFunction('NOW()'));
116
117
		return $qb;
118
	}
119
120
121
	/**

lib/Db/CirclesRequestBuilder.php 2 locations

@@ 367-373 (lines=7) @@
364
	 *
365
	 * @return IQueryBuilder
366
	 */
367
	protected function getSharesInsertSql() {
368
		$qb = $this->dbConnection->getQueryBuilder();
369
		$qb->insert(self::TABLE_SHARES)
370
		   ->setValue('creation', $qb->createFunction('NOW()'));
371
372
		return $qb;
373
	}
374
375
376
	/**
@@ 401-407 (lines=7) @@
398
	 *
399
	 * @return IQueryBuilder
400
	 */
401
	protected function getCirclesInsertSql() {
402
		$qb = $this->dbConnection->getQueryBuilder();
403
		$qb->insert(self::TABLE_CIRCLES)
404
		   ->setValue('creation', $qb->createFunction('NOW()'));
405
406
		return $qb;
407
	}
408
409
410
	/**

lib/Db/FederatedLinksRequestBuilder.php 1 location

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