From efdc959c555872677e599d2ff12e1263d719f3f2 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 2 Jun 2014 21:03:10 -0400 Subject: Fix bug #108: useless require --- app/Model/User.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Model/User.php b/app/Model/User.php index e651b5fd..6804d765 100644 --- a/app/Model/User.php +++ b/app/Model/User.php @@ -359,7 +359,6 @@ class User extends Base // LDAP authentication if (! $authenticated && LDAP_AUTH) { - require __DIR__.'/ldap.php'; $ldap = new Ldap($this->db, $this->event); $authenticated = $ldap->authenticate($username, $password); $method = LastLogin::AUTH_LDAP; -- cgit v1.2.3