mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-03 03:08:41 +00:00
remove unused var
This commit is contained in:
parent
25f018795f
commit
d4c79435dc
|
|
@ -145,7 +145,7 @@ class UploadFile
|
|||
return $result;
|
||||
}
|
||||
|
||||
if (!empty($this->allowedTypes) && ($ext = \array_search($f['type'], $this->allowedTypes, true)) === false) {
|
||||
if (!empty($this->allowedTypes) && \array_search($f['type'], $this->allowedTypes, true) === false) {
|
||||
$result[$key]['status'] = UploadStatus::WRONG_EXTENSION;
|
||||
|
||||
return $result;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user