projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ongoing cleanup in translation files.
[timetracker.git]
/
WEB-INF
/
lib
/
auth
/
Auth_ldap.class.php
diff --git
a/WEB-INF/lib/auth/Auth_ldap.class.php
b/WEB-INF/lib/auth/Auth_ldap.class.php
index
f99d752
..
e17b6e7
100644
(file)
--- a/
WEB-INF/lib/auth/Auth_ldap.class.php
+++ b/
WEB-INF/lib/auth/Auth_ldap.class.php
@@
-53,10
+53,9
@@
class Auth_ldap extends Auth {
function __construct($params)
{
function __construct($params)
{
+ global $smarty;
$this->params = $params;
$this->params = $params;
- if (isset($GLOBALS['smarty'])) {
- $GLOBALS['smarty']->assign('Auth_ldap_params', $this->params);
- }
+ $smarty->assign('Auth_ldap_params', $this->params);
}
function ldap_escape($str){
}
function ldap_escape($str){