summaryrefslogtreecommitdiff
path: root/app/Model/Base.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-20 18:44:51 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-20 18:44:51 -0400
commitf579663adcbc0b202d9a068d734e8f9284dc3a37 (patch)
tree150f71842dee501d369c342c4d9a8c1e93efed91 /app/Model/Base.php
parente6f547abcfe684658a7498391db72d13b6aa7d9a (diff)
Fix some phpdoc and remove useless code
Diffstat (limited to 'app/Model/Base.php')
-rw-r--r--app/Model/Base.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/Model/Base.php b/app/Model/Base.php
index e700f326..3ee60844 100644
--- a/app/Model/Base.php
+++ b/app/Model/Base.php
@@ -13,26 +13,6 @@ use Pimple\Container;
abstract class Base extends \Core\Base
{
/**
- * Database instance
- *
- * @access protected
- * @var \PicoDb\Database
- */
- protected $db;
-
- /**
- * Constructor
- *
- * @access public
- * @param \Pimple\Container $container
- */
- public function __construct(Container $container)
- {
- $this->container = $container;
- $this->db = $this->container['db'];
- }
-
- /**
* Save a record in the database
*
* @access public