From 2dd70000155f690049ed3a3ddd430fe9677ec914 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 2 Mar 2017 13:14:12 -0500 Subject: [PATCH] renamed supportFunctions class to obitSupportFunctions and renamed the file to obitSupportFunctions. Added the wpdb and config objects to the obitSupportFunctions instance in list.php --- classes/{supportFunctions.php => obitSupportFunctions.php} | 2 +- models/admin/obits/list.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename classes/{supportFunctions.php => obitSupportFunctions.php} (98%) diff --git a/classes/supportFunctions.php b/classes/obitSupportFunctions.php similarity index 98% rename from classes/supportFunctions.php rename to classes/obitSupportFunctions.php index efd0236..3ea9a07 100644 --- a/classes/supportFunctions.php +++ b/classes/obitSupportFunctions.php @@ -24,7 +24,7 @@ * @release SVN: $Id: dataAddedInfoFields.php,v 1.0 2011/01/25 19:31:47 cscott * Exp $ */ -class GlmSupportFunctions +class GlmObitSupportFunctions { /** diff --git a/models/admin/obits/list.php b/models/admin/obits/list.php index 383d81d..2d120da 100644 --- a/models/admin/obits/list.php +++ b/models/admin/obits/list.php @@ -17,7 +17,7 @@ require_once GLM_MEMBERS_OBITS_PLUGIN_CLASS_PATH.'/data/dataObits.php'; // Load support functions class -require_once GLM_MEMBERS_OBITS_PLUGIN_CLASS_PATH . '/supportFunctions.php'; +require_once GLM_MEMBERS_OBITS_PLUGIN_CLASS_PATH . '/obitSupportFunctions.php'; class GlmMembersAdmin_obits_list extends GlmDataObits { @@ -90,7 +90,7 @@ class GlmMembersAdmin_obits_list extends GlmDataObits public function modelAction($actionData = false) { - $year_range = new GlmSupportFunctions(); + $year_range = new GlmObitSupportFunctions($this->wpdb, $this->config); $numbObits = 0; $option = 'list'; -- 2.17.1