Code Duplication    Length = 7-7 lines in 2 locations

lib/Db/FederatedLinksRequestBuilder.php 1 location

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

lib/Db/MembersRequestBuilder.php 1 location

@@ 75-81 (lines=7) @@
72
	 *
73
	 * @return IQueryBuilder
74
	 */
75
	protected function getGroupsInsertSql() {
76
		$qb = $this->dbConnection->getQueryBuilder();
77
		$qb->insert(self::TABLE_GROUPS)
78
		   ->setValue('joined', $qb->createFunction('NOW()'));
79
80
		return $qb;
81
	}
82
83
84
	/**