Skip to content

Commit 410a004

Browse files
Update upload handler options
2 parents 8d21343 + 02c7653 commit 410a004

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/Libraries/ResponseHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ public function header($str)
2525
{
2626
header($str);
2727
}
28-
2928
}

app/Libraries/UploadHandlerOptions.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class UploadHandlerOptions
77
public $options; //public because parent class does reference it directly at times.
88
protected $req;
99

10-
public function __construct(array $options = [], RequestHandler $req)
10+
public function __construct(array $options, RequestHandler $req)
1111
{
1212
$this->req = $req;
1313
$this->options = $options + $this->default_options();
@@ -34,8 +34,6 @@ protected function get_user_id()
3434
return session_id();
3535
}
3636

37-
//-------------------
38-
3937
protected function default_options()
4038
{
4139
return [

0 commit comments

Comments
 (0)