mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02: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->enabled)
|
||||||
{
|
{
|
||||||
if ($this->mcrypt_version != 'old')
|
if ($this->mcrypt_version != 'old')
|
||||||
|
{
|
||||||
|
if(phpversion >= '4.1.1')
|
||||||
|
{
|
||||||
|
mcrypt_generic_deinit($this->td);
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
mcrypt_generic_end($this->td);
|
mcrypt_generic_end($this->td);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function hex2bin($data)
|
function hex2bin($data)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user