mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-13 15:58:42 +00:00
remove unused var
This commit is contained in:
parent
25f018795f
commit
d4c79435dc
|
|
@ -145,7 +145,7 @@ class UploadFile
|
||||||
return $result;
|
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;
|
$result[$key]['status'] = UploadStatus::WRONG_EXTENSION;
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user