remove fileatime from common storage backend

remotes/origin/stable5
Robin Appelman 13 years ago
parent c47bf9bbce
commit d3e37fa157
  1. 2
      lib/fileproxy.php
  2. 4
      lib/files/storage/common.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
*/

@ -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) {

Loading…
Cancel
Save