r2917 - amplifyCell(): do not repeat calculation already performed
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 29 Jun 2009 16:47:27 +0000 (16:47 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 29 Jun 2009 16:47:27 +0000 (16:47 +0000)
inc/database.php

index f9c20ee5e45da2e36438c59d3491594144e187b1..f2e19b145dd87f90d8934a13130dc87efce30b98 100644 (file)
@@ -427,7 +427,6 @@ function amplifyCell (&$record, $dummy = NULL)
                $record['files'] = getFilesOfEntity ($record['realm'], $record['id']);
                break;
        case 'ipv4net':
-               $record['ip_bin'] = ip2long ($record['ip']);
                $record['parent_id'] = getIPv4AddressNetworkId ($record['ip'], $record['mask']);
                break;
        case 'file':