summaryrefslogtreecommitdiff
path: root/app/Auth
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-24 16:02:25 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-24 16:02:25 -0400
commiteeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b (patch)
tree511c2fe47f8fbb1ea90e59e7a7a7f5e3530aa9ed /app/Auth
parent65e9e5d1bed9f88ecfd43eb2c1e780a7c22c151f (diff)
Helpers refactoring
Diffstat (limited to 'app/Auth')
-rw-r--r--app/Auth/Base.php28
1 files changed, 1 insertions, 27 deletions
diff --git a/app/Auth/Base.php b/app/Auth/Base.php
index e2209e1f..ebf6681b 100644
--- a/app/Auth/Base.php
+++ b/app/Auth/Base.php
@@ -9,14 +9,8 @@ use Pimple\Container;
*
* @package auth
* @author Frederic Guillot
- *
- * @property \Core\Session $session
- * @property \Model\Acl $acl
- * @property \Model\LastLogin $lastLogin
- * @property \Model\User $user
- * @property \Model\UserSession $userSession
*/
-abstract class Base
+abstract class Base extends \Core\Base
{
/**
* Database instance
@@ -27,14 +21,6 @@ abstract class Base
protected $db;
/**
- * Container instance
- *
- * @access protected
- * @var \Pimple\Container
- */
- protected $container;
-
- /**
* Constructor
*
* @access public
@@ -45,16 +31,4 @@ abstract class Base
$this->container = $container;
$this->db = $this->container['db'];
}
-
- /**
- * Load automatically models
- *
- * @access public
- * @param string $name Model name
- * @return mixed
- */
- public function __get($name)
- {
- return $this->container[$name];
- }
}