diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-27 00:00:43 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-27 00:00:43 -0400 |
commit | 1823430d13508fec5de39264bb4fe1224716def2 (patch) | |
tree | f911a412f1b8be2471bcb66c7fed8adf675c8d4a /app/Model/File.php | |
parent | 7a22f4c6d47a3e5d447ebeeef094092a4a4b0ad2 (diff) |
PicoDb update
Diffstat (limited to 'app/Model/File.php')
-rw-r--r-- | app/Model/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/File.php b/app/Model/File.php index 38b34cd3..3a44fee1 100644 --- a/app/Model/File.php +++ b/app/Model/File.php @@ -105,7 +105,7 @@ class File extends Base new FileEvent(array('task_id' => $task_id, 'name' => $name)) ); - return (int) $this->db->getConnection()->getLastId(); + return (int) $this->db->getLastId(); } return false; |