]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove old create etag function
authorMichael Gapczynski <mtgap@owncloud.com>
Sat, 12 Jan 2013 01:59:53 +0000 (20:59 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Sat, 12 Jan 2013 01:59:53 +0000 (20:59 -0500)
lib/connector/sabre/file.php

index 1770b491280ac5d54ea9cb60e0a0f73e2e7f02bd..e0723e123017702214e07a4651d450279ebdc05b 100644 (file)
@@ -101,15 +101,6 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
                return $this->getETagPropertyForPath($this->path);
        }
 
-       /**
-        * Creates a ETag for this path.
-        * @param string $path Path of the file
-        * @return string|null Returns null if the ETag can not effectively be determined
-        */
-       static protected function createETag($path) {
-               return \OC\Files\Filesystem::hash('md5', $path);
-       }
-
        /**
         * Returns the mime-type for a file
         *