- replaced mysql_query() with query_appdb()
- removed opendb() - removed query_userdb() - removed error handling from the code as it is done with query_appdb()
This commit is contained in:
@@ -210,13 +210,7 @@ function dumpmsgbuffer()
|
||||
query_appdb("DELETE FROM sessionMessages WHERE sessionId = '".session_id()."'");
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Start DB Connection
|
||||
*/
|
||||
opendb();
|
||||
|
||||
/*
|
||||
/**
|
||||
* Init Session (stores user info and cart info in session)
|
||||
*/
|
||||
$session = new session("whq_appdb");
|
||||
|
||||
Reference in New Issue
Block a user