Code Duplication    Length = 4-4 lines in 2 locations

lib/private/legacy/util.php 2 locations

@@ 116-119 (lines=4) @@
113
114
		// mount object storage as root
115
		\OC\Files\Filesystem::initMountManager();
116
		if (!self::$rootMounted) {
117
			\OC\Files\Filesystem::mount($config['class'], $config['arguments'], '/');
118
			self::$rootMounted = true;
119
		}
120
	}
121
122
	/**
@@ 156-159 (lines=4) @@
153
154
		// mount object storage as root
155
		\OC\Files\Filesystem::initMountManager();
156
		if (!self::$rootMounted) {
157
			\OC\Files\Filesystem::mount($config['class'], $config['arguments'], '/');
158
			self::$rootMounted = true;
159
		}
160
	}
161
162
	/**