aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-11-23 16:23:52 +0100
committerRobin Appelman <icewind@owncloud.com>2012-11-24 22:55:26 +0100
commitd3e37fa157faa59598e92a9aa02c6bbf818b60e0 (patch)
tree76093c80ed8521a259144cba73b07d29d37485f3
parentc47bf9bbcefb0640c24ab0aa6ee79f4c52222b45 (diff)
downloadnextcloud-server-d3e37fa157faa59598e92a9aa02c6bbf818b60e0.tar.gz
nextcloud-server-d3e37fa157faa59598e92a9aa02c6bbf818b60e0.zip
remove fileatime from common storage backend
-rw-r--r--lib/fileproxy.php2
-rw-r--r--lib/files/storage/common.php4
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/fileproxy.php b/lib/fileproxy.php
index 2f81bde64a1..52ec79b4bdb 100644
--- a/lib/fileproxy.php
+++ b/lib/fileproxy.php
@@ -36,7 +36,7 @@
* The return value of the post-proxy will be used as the new result of the operation
* The operations that have a post-proxy are:
* file_get_contents, is_file, is_dir, file_exists, stat, is_readable,
- * is_writable, fileatime, filemtime, filectime, file_get_contents,
+ * is_writable, filemtime, filectime, file_get_contents,
* getMimeType, hash, fopen, free_space and search
*/
diff --git a/lib/files/storage/common.php b/lib/files/storage/common.php
index 9978cea5712..c891d0c3ad0 100644
--- a/lib/files/storage/common.php
+++ b/lib/files/storage/common.php
@@ -69,10 +69,6 @@ abstract class Common implements \OC\Files\Storage\Storage {
$stat = $this->stat($path);
return $stat['mtime'];
}
- public function fileatime($path) {
- $stat = $this->stat($path);
- return $stat['atime'];
- }
public function file_get_contents($path) {
$handle = $this->fopen($path, "r");
if(!$handle) {