Code Duplication    Length = 4-4 lines in 2 locations

lib/private/legacy/util.php 2 locations

@@ 123-126 (lines=4) @@
120
121
		// mount object storage as root
122
		\OC\Files\Filesystem::initMountManager();
123
		if (!self::$rootMounted) {
124
			\OC\Files\Filesystem::mount($config['class'], $config['arguments'], '/');
125
			self::$rootMounted = true;
126
		}
127
	}
128
129
	/**
@@ 164-167 (lines=4) @@
161
162
		// mount object storage as root
163
		\OC\Files\Filesystem::initMountManager();
164
		if (!self::$rootMounted) {
165
			\OC\Files\Filesystem::mount($config['class'], $config['arguments'], '/');
166
			self::$rootMounted = true;
167
		}
168
	}
169
170
	/**