From 2a8f4e1b978cc57fd22fad42752ccd528324bb3e Mon Sep 17 00:00:00 2001 From: Karsten Heiken Date: Thu, 28 Jul 2011 20:18:04 +0200 Subject: [PATCH] Rename get to getById in project controller --- application/models/project.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/project.php b/application/models/project.php index af402a1..bb3dfb7 100644 --- a/application/models/project.php +++ b/application/models/project.php @@ -52,7 +52,7 @@ class Project extends CI_Model { * * @param type $project_id The project to get. */ - public function get($project_id) { + public function getById($project_id) { $result = $this->db->get_where('projects', array('id' => $project_id))->row_array(); $this->db->where('id', $project_id)->update('projects', array( 'lastaccess' => mysql_now(),