From 936376ffe74c583d3cb819e98f53a85137fdf8bc Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 18:19:15 -0400 Subject: Remove model base class --- app/Model/Base.php | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 app/Model/Base.php (limited to 'app/Model/Base.php') diff --git a/app/Model/Base.php b/app/Model/Base.php deleted file mode 100644 index a27560c8..00000000 --- a/app/Model/Base.php +++ /dev/null @@ -1,34 +0,0 @@ -db->transaction(function (Database $db) use ($table, $values) { - - if (! $db->table($table)->save($values)) { - return false; - } - - return (int) $db->getLastId(); - }); - } -} -- cgit v1.2.3