summaryrefslogtreecommitdiffstats
path: root/lib/connector/sabre/node.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-07-25 23:07:10 +0200
committerBart Visscher <bartv@thisnet.nl>2012-07-25 23:09:03 +0200
commit381e493a8c777a4e5e95fd72c6a7ed8114c3c978 (patch)
treee6500675d75f9665e9cf24559b9998a9c0cf9b12 /lib/connector/sabre/node.php
parentf25ccaff59c135d7f1f22196bf266916ef131b35 (diff)
downloadnextcloud-server-381e493a8c777a4e5e95fd72c6a7ed8114c3c978.tar.gz
nextcloud-server-381e493a8c777a4e5e95fd72c6a7ed8114c3c978.zip
Rename functions
getETagPropertyForFile -> getETagPropertyForPath removeETagPropertyForFile -> removeETagPropertyForPath
Diffstat (limited to 'lib/connector/sabre/node.php')
-rw-r--r--lib/connector/sabre/node.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index 663970487fb..77aff92cc39 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -208,7 +208,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
* @param string $path Path of the file
* @return string|null Returns null if the ETag can not effectively be determined
*/
- static public function getETagPropertyForFile($path) {
+ static public function getETagPropertyForPath($path) {
$tag = OC_Filesystem::hash('md5', $path);
if (empty($tag)) {
return null;
@@ -223,7 +223,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
* Remove the ETag from the cache.
* @param string $path Path of the file
*/
- static public function removeETagPropertyForFile($path) {
+ static public function removeETagPropertyForPath($path) {
$query = OC_DB::prepare( 'DELETE FROM *PREFIX*properties WHERE userid = ? AND propertypath = ? AND propertyname = ?' );
$query->execute( array( OC_User::getUser(), $path, self::GETETAG_PROPERTYNAME ));
}