Merge pull request #829 from dogmatic69/string-simplify-code

this change did make wonky uuids
This commit is contained in:
Mark Story 2012-09-12 18:13:14 -07:00
commit 5ddb61be92

View file

@ -72,6 +72,10 @@ class String {
} elseif ($node !== '127.0.0.1') {
$node = ip2long($node);
} else {
$node = null;
}
if(empty($node)) {
$node = crc32(Configure::read('Security.salt'));
}