Code Duplication    Length = 16-16 lines in 2 locations

lib/elFinderVolumeDropbox2.class.php 1 location

@@ 612-627 (lines=16) @@
609
     *
610
     * @author Naoki Sawada
611
     **/
612
    protected function configure()
613
    {
614
        parent::configure();
615
616
        // fallback of $this->tmp
617
        if (! $this->tmp && $this->tmbPathWritable) {
618
            $this->tmp = $this->tmbPath;
619
        }
620
621
        $this->disabled[] = 'archive';
622
        $this->disabled[] = 'extract';
623
624
        if ($this->isMyReload()) {
625
            //$this->_db_getDirectoryData(false);
626
        }
627
    }
628
629
    /**
630
     * Cache dir contents.

lib/elFinderVolumeGoogleDrive.class.php 1 location

@@ 983-998 (lines=16) @@
980
     *
981
     * @author Dmitry (dio) Levashov
982
     **/
983
    protected function configure()
984
    {
985
        parent::configure();
986
987
        // fallback of $this->tmp
988
        if (! $this->tmp && $this->tmbPathWritable) {
989
            $this->tmp = $this->tmbPath;
990
        }
991
992
        $this->disabled[] = 'archive';
993
        $this->disabled[] = 'extract';
994
995
        if ($this->isMyReload()) {
996
            $this->_gd_getDirectoryData(false);
997
        }
998
    }
999
1000
    /**
1001
     * Cache dir contents.