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
@ -115,7 +115,14 @@
|
|||||||
{
|
{
|
||||||
if ($this->mcrypt_version != 'old')
|
if ($this->mcrypt_version != 'old')
|
||||||
{
|
{
|
||||||
mcrypt_generic_end ($this->td);
|
if(phpversion >= '4.1.1')
|
||||||
|
{
|
||||||
|
mcrypt_generic_deinit($this->td);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
mcrypt_generic_end($this->td);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user