From 0019810922c9d59e5373dd76898b84a673f9169a Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Mon, 17 Jul 2006 20:56:07 +0000 Subject: [PATCH] Rename include/db.php to include/query.php, all of the functions in db.php were named query_*(). Rename test_db.php to test_query.php to match the rename of include/db.php. Modify include/incl.php to include query.php instead of db.php --- include/incl.php | 2 +- include/{db.php => query.php} | 0 unit_test/run_tests.php | 2 +- unit_test/{test_db.php => test_query.php} | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename include/{db.php => query.php} (100%) rename unit_test/{test_db.php => test_query.php} (97%) diff --git a/include/incl.php b/include/incl.php index cf0b63e..17046df 100644 --- a/include/incl.php +++ b/include/incl.php @@ -11,7 +11,7 @@ require(BASE."include/user.php"); require(BASE."include/session.php"); require(BASE."include/menu.php"); require(BASE."include/html.php"); -require(BASE."include/db.php"); +require(BASE."include/query.php"); /* if magic quotes are enabled make sure the user disables them */ /* otherwise they will see all kinds of odd effects that are difficult */ diff --git a/include/db.php b/include/query.php similarity index 100% rename from include/db.php rename to include/query.php diff --git a/unit_test/run_tests.php b/unit_test/run_tests.php index 8319a52..f112589 100644 --- a/unit_test/run_tests.php +++ b/unit_test/run_tests.php @@ -9,7 +9,7 @@ error_reporting(E_ALL ^ E_NOTICE); include_once("test_user.php"); echo "\n"; -include_once("test_db.php"); +include_once("test_query.php"); echo "\n"; include_once("test_image.php"); diff --git a/unit_test/test_db.php b/unit_test/test_query.php similarity index 97% rename from unit_test/test_db.php rename to unit_test/test_query.php index 7b7574d..5ce8977 100644 --- a/unit_test/test_db.php +++ b/unit_test/test_query.php @@ -1,6 +1,6 @@