Code Duplication    Length = 3-3 lines in 3 locations

lib/elFinderFlysystemGoogleDriveNetmount.php 1 location

@@ 203-205 (lines=3) @@
200
            return ['exit' => true, 'error' => $e->getMessage()];
201
        }
202
203
        foreach (['host', 'user', 'pass', 'id', 'offline'] as $key) {
204
            unset($options[$key]);
205
        }
206
207
        return $options;
208
    }

lib/elFinderVolumeDropbox2.class.php 1 location

@@ 287-289 (lines=3) @@
284
            return ['exit' => true, 'error' => $e->getMessage()];
285
        }
286
287
        foreach (['host', 'user', 'pass', 'id', 'offline'] as $key) {
288
            unset($options[$key]);
289
        }
290
291
        return $options;
292
    }

lib/elFinderVolumeGoogleDrive.class.php 1 location

@@ 319-321 (lines=3) @@
316
            return ['exit' => true, 'error' => $e->getMessage()];
317
        }
318
319
        foreach (['host', 'user', 'pass', 'id', 'offline'] as $key) {
320
            unset($options[$key]);
321
        }
322
323
        return $options;
324
    }