Database refactoring and improving blog comments, blog post history and more
This commit is contained in:
@@ -26,7 +26,7 @@ class FileModel extends CI_Model
|
||||
$userID = $user;
|
||||
}
|
||||
|
||||
$this->db->query('INSERT INTO files (name, original_name, type, size, path, user) VALUES (?, ?, ?, ?, ?, ?)', [$name, $originalName, $type, $size, $path, $userID]);
|
||||
$this->db->query('INSERT INTO files (name, originalName, type, size, path, user) VALUES (?, ?, ?, ?, ?, ?)', [$name, $originalName, $type, $size, $path, $userID]);
|
||||
|
||||
$this->db->cache_delete('admin', 'files');
|
||||
}
|
||||
|
Reference in New Issue
Block a user