From f59b722fb07cec38b542b0280c60570fc8a3e3c7 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 24 Oct 2013 16:14:01 -0700 Subject: [PATCH] CRM_Core_DAO - Fix static warning that appears during upgrade --- CRM/Core/DAO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index 0069666815..ce8d2cfb97 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -598,7 +598,7 @@ LIKE %1 * * @return boolean true if CONSTRAINT keyword exists, false otherwise */ - function schemaRequiresRebuilding($tables = array("civicrm_contact")) { + static function schemaRequiresRebuilding($tables = array("civicrm_contact")) { $show = array(); foreach($tables as $tableName){ if (!array_key_exists($tableName, $show)) { -- 2.25.1