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
	/**
@@ 113-119 (lines=7) @@
110
	 *
111
	 * @return IQueryBuilder
112
	 */
113
	protected function getGroupsInsertSql() {
114
		$qb = $this->dbConnection->getQueryBuilder();
115
		$qb->insert(self::TABLE_GROUPS)
116
		   ->setValue('joined', $qb->createFunction('NOW()'));
117
118
		return $qb;
119
	}
120
121
122
	/**

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
	/**

lib/Db/SharingFrameRequestBuilder.php 1 location

@@ 89-95 (lines=7) @@
86
	 *
87
	 * @return IQueryBuilder
88
	 */
89
	protected function getSharesInsertSql() {
90
		$qb = $this->dbConnection->getQueryBuilder();
91
		$qb->insert(self::TABLE_SHARES)
92
		   ->setValue('creation', $qb->createFunction('NOW()'));
93
94
		return $qb;
95
	}
96
97
98
	/**

lib/Db/CirclesRequestBuilder.php 1 location

@@ 320-326 (lines=7) @@
317
	 *
318
	 * @return IQueryBuilder
319
	 */
320
	protected function getCirclesInsertSql() {
321
		$qb = $this->dbConnection->getQueryBuilder();
322
		$qb->insert(self::TABLE_CIRCLES)
323
		   ->setValue('creation', $qb->createFunction('NOW()'));
324
325
		return $qb;
326
	}
327
328
329
	/**