Code Duplication    Length = 4-4 lines in 2 locations

lib/elFinderVolumeDriver.class.php 2 locations

@@ 3972-3975 (lines=4) @@
3969
                if ($this->sessionCaching['rootstat'] && isset($this->sessionCache['rootstat'][$rootKey])) {
3970
                    if ($ret = $this->sessionCache['rootstat'][$rootKey]) {
3971
                        if ($this->options['rootRev'] === $ret['rootRev']) {
3972
                            if (isset($this->options['phash'])) {
3973
                                $ret['isroot'] = 1;
3974
                                $ret['phash'] = $this->options['phash'];
3975
                            }
3976
3977
                            return $ret;
3978
                        }
@@ 3990-3993 (lines=4) @@
3987
            if ($ret) {
3988
                $this->rootModified = false;
3989
                $this->sessionCache['rootstat'][$rootKey] = $ret;
3990
                if (isset($this->options['phash'])) {
3991
                    $ret['isroot'] = 1;
3992
                    $ret['phash'] = $this->options['phash'];
3993
                }
3994
            } else {
3995
                unset($this->sessionCache['rootstat'][$rootKey]);
3996
            }