]> source.dussan.org Git - nextcloud-server.git/commitdiff
[files_external] removing function as it's the same in the base class - THX Robin
authorThomas Mueller <thomas.mueller@tmit.eu>
Thu, 6 Dec 2012 18:55:30 +0000 (19:55 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Mon, 11 Feb 2013 14:44:35 +0000 (15:44 +0100)
Conflicts:
apps/files_external/lib/smb.php

apps/files_external/lib/smb.php

index 96778b0b2e1c30a8ba79d829ac4970536f9af133..58abcd43f5ad0cd8f2b287476efa7c3839793d3d 100644 (file)
@@ -59,11 +59,6 @@ class SMB extends \OC\Files\Storage\StreamWrapper{
                }
        }
 
-       public function filetype($path) {
-               // using opendir causes the same amount of requests and caches the content of the folder in one go
-               return (bool)@$this->opendir($path) ? 'dir' : 'file';
-       }
-
        /**
         * check if a file or folder has been updated since $time
         * @param string $path