diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-07-20 17:51:50 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-07-20 17:58:05 +0200 |
commit | 48306a3c4f708b80143757acbe9b270be476aab4 (patch) | |
tree | 07aa5b940a9126a20892a150139dee347d4cbe75 /lib/streamwrappers.php | |
parent | 0e111e1a17140a8a42a3dbf2ecce41e424b2afab (diff) | |
download | nextcloud-server-48306a3c4f708b80143757acbe9b270be476aab4.tar.gz nextcloud-server-48306a3c4f708b80143757acbe9b270be476aab4.zip |
fix unused variables
Diffstat (limited to 'lib/streamwrappers.php')
-rw-r--r-- | lib/streamwrappers.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/streamwrappers.php b/lib/streamwrappers.php index f1e0fa0e1d9..f502c6170bd 100644 --- a/lib/streamwrappers.php +++ b/lib/streamwrappers.php @@ -1,6 +1,4 @@ <?php -global $FAKEDIRS; -$FAKEDIRS=array(); class OC_FakeDirStream{ public static $dirs=array(); @@ -8,8 +6,6 @@ class OC_FakeDirStream{ private $index; public function dir_opendir($path,$options){ - global $FAKEDIRS; - $url=parse_url($path); $this->name=substr($path,strlen('fakedir://')); $this->index=0; if(!isset(self::$dirs[$this->name])){ @@ -161,7 +157,6 @@ class OC_StaticStreamWrapper { public function stream_write($data) { if (!$this->writable) return 0; $size = strlen($data); - $len = strlen(self::$data[$this->path]); if ($this->stream_eof()) { self::$data[$this->path] .= $data; } else { |