From 43cffe282868ff5c32804c34b31baaa1317f5a8e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 18 Oct 2015 18:13:54 -0400 Subject: Remove useless class and add new plugin hooks --- app/Auth/Base.php | 34 ---------------------------------- app/Auth/Database.php | 1 + app/Auth/Github.php | 3 ++- app/Auth/Gitlab.php | 1 + app/Auth/Google.php | 1 + app/Auth/Ldap.php | 1 + app/Auth/RememberMe.php | 1 + app/Auth/ReverseProxy.php | 1 + 8 files changed, 8 insertions(+), 35 deletions(-) delete mode 100644 app/Auth/Base.php (limited to 'app/Auth') diff --git a/app/Auth/Base.php b/app/Auth/Base.php deleted file mode 100644 index a354c200..00000000 --- a/app/Auth/Base.php +++ /dev/null @@ -1,34 +0,0 @@ -container = $container; - $this->db = $this->container['db']; - } -} diff --git a/app/Auth/Database.php b/app/Auth/Database.php index 36be669e..91b17a5f 100644 --- a/app/Auth/Database.php +++ b/app/Auth/Database.php @@ -2,6 +2,7 @@ namespace Kanboard\Auth; +use Kanboard\Core\Base; use Kanboard\Model\User; use Kanboard\Event\AuthEvent; diff --git a/app/Auth/Github.php b/app/Auth/Github.php index 28478b56..b89dc5b8 100644 --- a/app/Auth/Github.php +++ b/app/Auth/Github.php @@ -2,6 +2,7 @@ namespace Kanboard\Auth; +use Kanboard\Core\Base; use Kanboard\Event\AuthEvent; /** @@ -85,7 +86,7 @@ class Github extends Base * Get OAuth2 configured service * * @access public - * @return KanboardCore\OAuth2 + * @return Kanboard\Core\OAuth2 */ public function getService() { diff --git a/app/Auth/Gitlab.php b/app/Auth/Gitlab.php index 306a474d..8df3a5ec 100644 --- a/app/Auth/Gitlab.php +++ b/app/Auth/Gitlab.php @@ -2,6 +2,7 @@ namespace Kanboard\Auth; +use Kanboard\Core\Base; use Kanboard\Event\AuthEvent; /** diff --git a/app/Auth/Google.php b/app/Auth/Google.php index 76e65fb6..32bcb4b1 100644 --- a/app/Auth/Google.php +++ b/app/Auth/Google.php @@ -2,6 +2,7 @@ namespace Kanboard\Auth; +use Kanboard\Core\Base; use Kanboard\Event\AuthEvent; /** diff --git a/app/Auth/Ldap.php b/app/Auth/Ldap.php index 687762d3..c252be17 100644 --- a/app/Auth/Ldap.php +++ b/app/Auth/Ldap.php @@ -2,6 +2,7 @@ namespace Kanboard\Auth; +use Kanboard\Core\Base; use Kanboard\Event\AuthEvent; /** diff --git a/app/Auth/RememberMe.php b/app/Auth/RememberMe.php index bba2bda6..0290e36c 100644 --- a/app/Auth/RememberMe.php +++ b/app/Auth/RememberMe.php @@ -2,6 +2,7 @@ namespace Kanboard\Auth; +use Kanboard\Core\Base; use Kanboard\Core\Request; use Kanboard\Event\AuthEvent; use Kanboard\Core\Security; diff --git a/app/Auth/ReverseProxy.php b/app/Auth/ReverseProxy.php index 6f998a34..abcdd449 100644 --- a/app/Auth/ReverseProxy.php +++ b/app/Auth/ReverseProxy.php @@ -2,6 +2,7 @@ namespace Kanboard\Auth; +use Kanboard\Core\Base; use Kanboard\Event\AuthEvent; /** -- cgit v1.2.3