diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-11-05 17:14:19 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-11-05 17:14:19 +0100 |
commit | eb6fc14f844e4e3846565d8bad8aaa8f26b7588b (patch) | |
tree | 4a0ecbdb077bed46302e9e0b708244b49da1d63d /apps/files_sharing/lib/watcher.php | |
parent | e3868ba118777fc21172b75a516334e107769401 (diff) | |
download | nextcloud-server-eb6fc14f844e4e3846565d8bad8aaa8f26b7588b.tar.gz nextcloud-server-eb6fc14f844e4e3846565d8bad8aaa8f26b7588b.zip |
Removed unused method
Diffstat (limited to 'apps/files_sharing/lib/watcher.php')
-rw-r--r-- | apps/files_sharing/lib/watcher.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/files_sharing/lib/watcher.php b/apps/files_sharing/lib/watcher.php index 818830411d0..12e0efc22c6 100644 --- a/apps/files_sharing/lib/watcher.php +++ b/apps/files_sharing/lib/watcher.php @@ -27,24 +27,6 @@ namespace OC\Files\Cache; class Shared_Watcher extends Watcher { /** - * @brief get file owner and path - * @param string $filename - * @return array with the oweners uid and the owners path - */ - private static function getUidAndFilename($filename) { - // FIXME: duplicate of Updater::getUidAndFilename() - $uid = \OC\Files\Filesystem::getOwner($filename); - \OC\Files\Filesystem::initMountPoints($uid); - - if ($uid != \OCP\User::getUser()) { - $info = \OC\Files\Filesystem::getFileInfo($filename); - $ownerView = new \OC\Files\View('/' . $uid . '/files'); - $filename = $ownerView->getPath($info['fileid']); - } - return array($uid, '/files/' . $filename); - } - - /** * check $path for updates * * @param string $path |