From ccf5e61a075c35d24befc175994b5cb8957ca322 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 26 Aug 2026 21:45:53 +0000
Subject: [PATCH] =Extra JVB() calls replaced, minor tweaks

---
 inc/managers/Favourites.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/managers/Favourites.php b/inc/managers/Favourites.php
index c48e42d..66370a0 100644
--- a/inc/managers/Favourites.php
+++ b/inc/managers/Favourites.php
@@ -812,7 +812,7 @@
 				'item_id'	=> $post_id
 			])->deleteResults();
 		} catch (Exception $e) {
-			JVB()->error()->log('cleanupPostFavourites', $e->getMessage(), [
+			Errors::getInstance()->log('cleanupPostFavourites', $e->getMessage(), [
 				'post_id' => $post_id
 			]);
 		}
@@ -835,7 +835,7 @@
 				'item_id'	=> $term_id
 			])->deleteResults();
 		} catch (Exception $e) {
-			JVB()->error()->log('cleanupTermFavourites', $e->getMessage(), [
+			Errors::getInstance()->log('cleanupTermFavourites', $e->getMessage(), [
 				'term_id' => $term_id,
 				'taxonomy'=> $taxonomy
 			]);

--
Gitblit v1.10.0