Remove unused variables

This commit is contained in:
flynsarmy 2014-08-22 14:59:32 +10:00
parent 11acd6e799
commit 4df7af076d
1 changed files with 0 additions and 3 deletions

View File

@ -81,7 +81,6 @@ class FileUpload extends FormWidgetBase
protected function getFileList()
{
$columnName = $this->columnName;
$list = $this->getColumn()->withDeferred($this->sessionKey)->orderBy('sort_order')->get();
/*
@ -113,7 +112,6 @@ class FileUpload extends FormWidgetBase
public function onRemoveAttachment()
{
if (($file_id = post('file_id')) && ($file = File::find($file_id))) {
$columnName = $this->columnName;
$this->getColumn()->remove($file, $this->sessionKey);
}
}
@ -205,7 +203,6 @@ class FileUpload extends FormWidgetBase
if (!$uploadedFile->isValid())
throw new SystemException('File is not valid');
$columnName = $this->columnName;
$fileRelation = $this->getColumn();
$file = new File();