mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 03:19:56 +01:00
"using standard md5() instead of hash('md5',...), as it's only a pecl extension"
This commit is contained in:
parent
aa4e4be631
commit
2d1b53b835
@ -913,7 +913,7 @@ class schema_proc
|
||||
if (isset($this->max_index_length[$this->sType]) && $this->max_index_length[$this->sType] <= 32 && strlen($name) > 30 ||
|
||||
strlen($name) >= 64) // even mysql has a limit here ;-)
|
||||
{
|
||||
$name = "i".substr(hash ('md5', $name),0,29);
|
||||
$name = "i".substr(md5($name),0,29);
|
||||
}
|
||||
return $name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user