diff options
Diffstat (limited to 'system/application')
-rw-r--r-- | system/application/controllers/file.php | 2 | ||||
-rw-r--r-- | system/application/models/file_mod.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php index 1d32bd07a..adde14927 100644 --- a/system/application/controllers/file.php +++ b/system/application/controllers/file.php @@ -92,7 +92,7 @@ class File extends Controller { $data["title"] = "Delete"; $data["id"] = $id; if ($password != "NULL") { - if ($this->file_mod->delete_id($id, $password)) { + if ($this->file_mod->delete_id($id)) { if ($this->var->cli_client) { echo $id." deleted\n"; die(); diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index 19a607334..30b170e3e 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -297,7 +297,7 @@ class File_mod extends Model { } } - function delete_id($id, $password) + function delete_id($id) { $filedata = $this->get_filedata($id); $password = $this->get_password(); |