mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +01:00
backport fix for php5 error on cleanup()
This commit is contained in:
parent
e18438cdcc
commit
8afddf6b17
@ -114,11 +114,18 @@
|
||||
if ($this->enabled)
|
||||
{
|
||||
if ($this->mcrypt_version != 'old')
|
||||
{
|
||||
if(phpversion >= '4.1.1')
|
||||
{
|
||||
mcrypt_generic_deinit($this->td);
|
||||
}
|
||||
else
|
||||
{
|
||||
mcrypt_generic_end($this->td);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function hex2bin($data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user