diff options
Diffstat (limited to 'application/models/mfile.php')
-rw-r--r-- | application/models/mfile.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/application/models/mfile.php b/application/models/mfile.php index 10f4f542e..6b7b38d41 100644 --- a/application/models/mfile.php +++ b/application/models/mfile.php @@ -103,10 +103,8 @@ class Mfile extends CI_Model { } // Add a file to the DB - function add_file($id, $filename, $storage_id) + function add_file($userid, $id, $filename, $storage_id) { - $userid = $this->muser->get_userid(); - $this->db->insert("files", array( "id" => $id, "filename" => $filename, |