simplify a few functions
authorDenis Ovsienko <denis@ovsienko.info>
Fri, 19 May 2017 12:03:45 +0000 (13:03 +0100)
committerDenis Ovsienko <denis@ovsienko.info>
Fri, 19 May 2017 12:03:45 +0000 (13:03 +0100)
commit07d22cecff02e80ad2c0241547fecf84e3ed5b93
tree3c409e86e83cb281d1de2057e7f83ea1266142cd
parente984d86c8f00e3d6c3d4b0c862102a251de68a09
simplify a few functions

* lastInsertID(): use PDOStatement::fetchColumn()
* getIPv4Stats(): idem
* getIPv6Stats(): idem
* getRackspaceStats(): idem
* sortPortList(): use array_fetch()
wwwroot/inc/database.php
wwwroot/inc/functions.php