From 9417be1205b16b06782d183fba4b0f63cbc93d0f Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Mon, 17 Sep 2012 23:21:45 -0500 Subject: [PATCH] AttachmentChunkedData::read no longer uses $length --- include/class.file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.file.php b/include/class.file.php index a38fab8f8..b44f7af45 100644 --- a/include/class.file.php +++ b/include/class.file.php @@ -244,7 +244,7 @@ class AttachmentChunkedData { return $length; } - function read($length=CHUNK_SIZE) { + function read() { # Read requested length of data from attachment chunks list($buffer) = @db_fetch_row(db_query( 'SELECT filedata FROM '.FILE_CHUNK_TABLE.' WHERE file_id=' -- GitLab