Browse Source

remove fileatime from common storage backend

tags/v5.0.0alpha1
Robin Appelman 11 years ago
parent
commit
d3e37fa157
2 changed files with 1 additions and 5 deletions
  1. 1
    1
      lib/fileproxy.php
  2. 0
    4
      lib/files/storage/common.php

+ 1
- 1
lib/fileproxy.php View File

@@ -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
*/


+ 0
- 4
lib/files/storage/common.php View File

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