removed database.php non-used functions: 2