Revert "Update functions.inc.php"

This reverts commit 7b90e994cc2c12cc46ff2d402ae60ad209ba46ed.