mirror of
https://github.com/itflow-org/itflow
synced 2026-04-24 21:37:46 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9c3ee4661 | ||
|
|
90de4e4fe3 |
@@ -280,7 +280,7 @@ if (isset($_POST['edit_client'])) {
|
|||||||
);
|
);
|
||||||
mysqli_stmt_bind_param(
|
mysqli_stmt_bind_param(
|
||||||
$query,
|
$query,
|
||||||
"ssssdisiisi",
|
"ssssdisissi",
|
||||||
$name,
|
$name,
|
||||||
$type,
|
$type,
|
||||||
$website,
|
$website,
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ logApp("Cron", "info", "Cron Started");
|
|||||||
mysqli_query($mysqli, "TRUNCATE TABLE ticket_views");
|
mysqli_query($mysqli, "TRUNCATE TABLE ticket_views");
|
||||||
|
|
||||||
// Clean-up shared items that have been used
|
// Clean-up shared items that have been used
|
||||||
mysqli_query($mysqli, "DELETE FROM shared_items WHERE item_views = item_view_limit");
|
mysqli_query($mysqli, "DELETE FROM shared_items WHERE item_view_limit > 0 AND item_views >= item_view_limit");
|
||||||
|
|
||||||
// Clean-up shared items that have expired
|
// Clean-up shared items that have expired
|
||||||
mysqli_query($mysqli, "DELETE FROM shared_items WHERE item_expire_at < NOW()");
|
mysqli_query($mysqli, "DELETE FROM shared_items WHERE item_expire_at < NOW()");
|
||||||
|
|||||||
Reference in New Issue
Block a user