From be6541cce13f8d09639459b791dbd5b20c54dbc7 Mon Sep 17 00:00:00 2001
From: Adrian Lang <lang@cosmocode.de>
Date: Wed, 23 Jun 2010 11:05:51 +0200
Subject: [PATCH] basic_auth is loaded by inc/auth.php

---
 inc/auth/mysql.class.php | 3 ---
 inc/auth/pgsql.class.php | 3 +--
 inc/auth/plain.class.php | 3 ---
 3 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/inc/auth/mysql.class.php b/inc/auth/mysql.class.php
index b1c6a3a52..ca607ced5 100644
--- a/inc/auth/mysql.class.php
+++ b/inc/auth/mysql.class.php
@@ -8,9 +8,6 @@
  * @author     Matthias Grimm <matthias.grimmm@sourceforge.net>
 */
 
-define('DOKU_AUTH', dirname(__FILE__));
-require_once(DOKU_AUTH.'/basic.class.php');
-
 class auth_mysql extends auth_basic {
 
     var $dbcon        = 0;
diff --git a/inc/auth/pgsql.class.php b/inc/auth/pgsql.class.php
index a6da56af5..8e68e865e 100644
--- a/inc/auth/pgsql.class.php
+++ b/inc/auth/pgsql.class.php
@@ -11,8 +11,7 @@
  * @author     Matthias Grimm <matthias.grimmm@sourceforge.net>
 */
 
-define('DOKU_AUTH', dirname(__FILE__));
-require_once(DOKU_AUTH.'/mysql.class.php');
+require_once(DOKU_INC.'inc/auth/mysql.class.php');
 
 class auth_pgsql extends auth_mysql {
 
diff --git a/inc/auth/plain.class.php b/inc/auth/plain.class.php
index 96649e3c4..af4fadb36 100644
--- a/inc/auth/plain.class.php
+++ b/inc/auth/plain.class.php
@@ -7,9 +7,6 @@
  * @author     Chris Smith <chris@jalakai.co.uk>
  */
 
-define('DOKU_AUTH', dirname(__FILE__));
-require_once(DOKU_AUTH.'/basic.class.php');
-
 define('AUTH_USERFILE',DOKU_CONF.'users.auth.php');
 
 class auth_plain extends auth_basic {
-- 
GitLab