refactor: kb & station & terminal
This commit is contained in:
@@ -16,10 +16,6 @@ class CreateDocument extends CreateRecord
|
||||
{
|
||||
$data['uploaded_by'] = Auth::id();
|
||||
|
||||
if ($data['type'] === 'global') {
|
||||
$data['group_id'] = null;
|
||||
}
|
||||
|
||||
if (isset($data['file'])) {
|
||||
$filePath = $data['file'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user