mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated most files to use dbFacile
This commit is contained in:
@@ -22,7 +22,7 @@ include("includes/functions.php");
|
||||
|
||||
$options = getopt("r");
|
||||
|
||||
if (isset($options['r'])) { echo("Clearing history table.\n"); mysql_query("TRUNCATE TABLE `bill_history`"); }
|
||||
if (isset($options['r'])) { echo("Clearing history table.\n"); dbQuery("TRUNCATE TABLE `bill_history`"); }
|
||||
|
||||
foreach (dbFetchRows("SELECT * FROM `bills` ORDER BY `bill_id`") as $bill)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user