summaryrefslogtreecommitdiff
path: root/app/Auth
diff options
context:
space:
mode:
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];
- }
}