aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-20 23:54:37 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-20 23:58:07 +0200
commitcfa036eaa916c1adf38fb161a16c50cd050c0a3b (patch)
tree96ed86f65b21a82724e44eee60177e084170673f /lib/files
parentf7722abcb0a7f6b91e6c767d601193446a41a817 (diff)
downloadnextcloud-server-cfa036eaa916c1adf38fb161a16c50cd050c0a3b.tar.gz
nextcloud-server-cfa036eaa916c1adf38fb161a16c50cd050c0a3b.zip
drop filectime from the filesystem api's
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/filesystem.php4
-rw-r--r--lib/files/storage/common.php4
-rw-r--r--lib/files/storage/local.php3
-rw-r--r--lib/files/storage/storage.php1
-rw-r--r--lib/files/view.php4
5 files changed, 0 insertions, 16 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index e4c269257c2..94e8a562564 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -478,10 +478,6 @@ class Filesystem {
return self::$defaultInstance->file_exists($path);
}
- static public function filectime($path) {
- return self::$defaultInstance->filectime($path);
- }
-
static public function filemtime($path) {
return self::$defaultInstance->filemtime($path);
}
diff --git a/lib/files/storage/common.php b/lib/files/storage/common.php
index 3886a041829..17405845554 100644
--- a/lib/files/storage/common.php
+++ b/lib/files/storage/common.php
@@ -74,10 +74,6 @@ abstract class Common extends \OC\Files\Storage\Storage {
return $permissions;
}
// abstract public function file_exists($path);
- public function filectime($path) {
- $stat = $this->stat($path);
- return $stat['ctime'];
- }
public function filemtime($path) {
$stat = $this->stat($path);
return $stat['mtime'];
diff --git a/lib/files/storage/local.php b/lib/files/storage/local.php
index 66ae5542e36..ccd69e3971c 100644
--- a/lib/files/storage/local.php
+++ b/lib/files/storage/local.php
@@ -66,9 +66,6 @@ class Local extends \OC\Files\Storage\Common{
public function file_exists($path) {
return file_exists($this->datadir.$path);
}
- public function filectime($path) {
- return filectime($this->datadir.$path);
- }
public function filemtime($path) {
return filemtime($this->datadir.$path);
}
diff --git a/lib/files/storage/storage.php b/lib/files/storage/storage.php
index f149c61830c..941bc3b0779 100644
--- a/lib/files/storage/storage.php
+++ b/lib/files/storage/storage.php
@@ -29,7 +29,6 @@ abstract class Storage{
abstract public function isSharable($path);
abstract public function getPermissions($path);
abstract public function file_exists($path);
- abstract public function filectime($path);
abstract public function filemtime($path);
abstract public function file_get_contents($path);
abstract public function file_put_contents($path,$data);
diff --git a/lib/files/view.php b/lib/files/view.php
index bffeb434f28..58e3ee6f051 100644
--- a/lib/files/view.php
+++ b/lib/files/view.php
@@ -236,10 +236,6 @@ class View {
return $this->basicOperation('file_exists', $path);
}
- public function filectime($path) {
- return $this->basicOperation('filectime', $path);
- }
-
public function filemtime($path) {
return $this->basicOperation('filemtime', $path);
}