diff options
author | Dj Padzensky <djpadz@padz.net> | 2016-03-07 15:05:06 -0800 |
---|---|---|
committer | Dj Padzensky <djpadz@padz.net> | 2016-03-07 15:05:06 -0800 |
commit | a8abc70bcbcbb3f7f84ff2d0b0d0b6d87151fde0 (patch) | |
tree | b0df5b422c9e8e24e729108444b14d8d8dfbbc4d /app | |
parent | 65ded5a49e6a151e8e6fec3a43e3fef2680bed5c (diff) |
Changing new self to new static, to accommodate subclasses of LdapClient.
Diffstat (limited to 'app')
-rw-r--r-- | app/Core/Ldap/Client.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Ldap/Client.php b/app/Core/Ldap/Client.php index e35e4ea0..05658190 100644 --- a/app/Core/Ldap/Client.php +++ b/app/Core/Ldap/Client.php @@ -31,7 +31,7 @@ class Client */ public static function connect($username = null, $password = null) { - $client = new self; + $client = new static; $client->open($client->getLdapServer()); $username = $username ?: $client->getLdapUsername(); $password = $password ?: $client->getLdapPassword(); |