Merge pull request #1423 from owncloud/getowner

Add getOwner to Filesystem and View classes
remotes/origin/stable5
Thomas Müller 14 years ago
commit f7258cc5e8
  1. 10
      lib/files/filesystem.php
  2. 10
      lib/files/view.php

@ -610,6 +610,16 @@ class Filesystem {
return self::$defaultInstance->getPath($id);
}
/**
* Get the owner for a file or folder
*
* @param string $path
* @return string
*/
public static function getOwner($path) {
return self::$defaultInstance->getOwner($path);
}
/**
* get the ETag for a file or folder
*

@ -914,6 +914,16 @@ class View {
return $files;
}
/**
* Get the owner for a file or folder
*
* @param string $path
* @return string
*/
public function getOwner($path) {
return $this->basicOperation('getOwner', $path);
}
/**
* get the ETag for a file or folder
*

Loading…
Cancel
Save