- remove the company field.

This commit is contained in:
wangchunsheng
2010-04-08 07:31:19 +00:00
parent 0de4bd14eb
commit 0ed948d0d7
-1
View File
@@ -63,7 +63,6 @@ class fileModel extends model
foreach($files as $id => $file)
{
move_uploaded_file($file['tmpname'], $this->savePath . $file['pathname']);
$file['company'] = $this->app->company->id;
$file['objectType'] = $objectType;
$file['objectID'] = $objectID;
$file['addedBy'] = $this->app->user->account;