Code Duplication    Length = 4-4 lines in 2 locations

lib/private/legacy/util.php 2 locations

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