Code Duplication    Length = 8-8 lines in 2 locations

apps/dav/lib/Connector/Sabre/CustomPropertiesBackend.php 1 location

@@ 84-91 (lines=8) @@
81
	 * @param IDBConnection $connection database connection
82
	 * @param IUser $user owner of the tree and properties
83
	 */
84
	public function __construct(
85
		Tree $tree,
86
		IDBConnection $connection,
87
		IUser $user) {
88
		$this->tree = $tree;
89
		$this->connection = $connection;
90
		$this->user = $user->getUID();
91
	}
92
93
	/**
94
	 * Fetches properties for a path.

apps/dav/lib/DAV/CustomPropertiesBackend.php 1 location

@@ 81-88 (lines=8) @@
78
	 * @param IDBConnection $connection database connection
79
	 * @param IUser $user owner of the tree and properties
80
	 */
81
	public function __construct(
82
		Tree $tree,
83
		IDBConnection $connection,
84
		IUser $user) {
85
		$this->tree = $tree;
86
		$this->connection = $connection;
87
		$this->user = $user->getUID();
88
	}
89
90
	/**
91
	 * Fetches properties for a path.