Remove model base class

This commit is contained in:
Frederic Guillot
2016-05-28 18:19:15 -04:00
parent e6235afb2d
commit 936376ffe7
60 changed files with 113 additions and 53 deletions

View File

@@ -2,6 +2,8 @@
namespace Kanboard\Model;
use Kanboard\Core\Base;
/**
* Group Model
*
@@ -97,7 +99,7 @@ class Group extends Base
*/
public function create($name, $external_id = '')
{
return $this->persist(self::TABLE, array(
return $this->db->table(self::TABLE)->persist(array(
'name' => $name,
'external_id' => $external_id,
));