From 4d3acc9cc0b098fdfc798e652226c99190280eac Mon Sep 17 00:00:00 2001 From: Botanic Date: Wed, 5 Jun 2013 23:19:40 -0700 Subject: [PATCH] added base class file for sql as well as updated users to use class --HG-- branch : rc-botanic-webdev --- .../tools/server/ryzom_ams/ams_lib/autoload/sql.php | 11 +++++++++++ .../tools/server/ryzom_ams/ams_lib/autoload/users.php | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/sql.php diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/sql.php b/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/sql.php new file mode 100644 index 000000000..f64122f7c --- /dev/null +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/sql.php @@ -0,0 +1,11 @@ + $username ))->fetchField()) { return "Username " . $username . " is in use.";