Remove unused functions
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
4d1d82e2d7
commit
030d85bc9c
|
@ -646,14 +646,6 @@ class Filesystem {
|
||||||
return self::$defaultInstance->rmdir($path);
|
return self::$defaultInstance->rmdir($path);
|
||||||
}
|
}
|
||||||
|
|
||||||
static public function opendir($path) {
|
|
||||||
return self::$defaultInstance->opendir($path);
|
|
||||||
}
|
|
||||||
|
|
||||||
static public function readdir($path) {
|
|
||||||
return self::$defaultInstance->readdir($path);
|
|
||||||
}
|
|
||||||
|
|
||||||
static public function is_dir($path) {
|
static public function is_dir($path) {
|
||||||
return self::$defaultInstance->is_dir($path);
|
return self::$defaultInstance->is_dir($path);
|
||||||
}
|
}
|
||||||
|
|
|
@ -366,15 +366,6 @@ class View {
|
||||||
return $this->basicOperation('opendir', $path, array('read'));
|
return $this->basicOperation('opendir', $path, array('read'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param $handle
|
|
||||||
* @return mixed
|
|
||||||
*/
|
|
||||||
public function readdir($handle) {
|
|
||||||
$fsLocal = new Storage\Local(array('datadir' => '/'));
|
|
||||||
return $fsLocal->readdir($handle);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @return bool|mixed
|
* @return bool|mixed
|
||||||
|
|
Loading…
Reference in New Issue