* Rewrite view page of product.
This commit is contained in:
@@ -21,7 +21,7 @@ class file extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function buildForm($fileCount = 1, $percent = 0.9, $filesName = 'files', $labelsName = 'labels')
|
||||
public function buildForm()
|
||||
{
|
||||
if(!file_exists($this->file->savePath))
|
||||
{
|
||||
@@ -34,10 +34,6 @@ class file extends control
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->view->fileCount = $fileCount;
|
||||
$this->view->percent = $percent;
|
||||
$this->view->filesName = $filesName;
|
||||
$this->view->labelsName = $labelsName;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user