Parent Directory
|
Revision Log
|
Patch
revision 94 by torben, Thu Nov 29 08:04:13 2007 UTC | revision 195 by torben, Sat Dec 8 16:47:03 2007 UTC | |
---|---|---|
# | Line 12 dburl; | Line 12 dburl; |
12 | ||
13 | <%session scope="global"> | <%session scope="global"> |
14 | std::string userName; | std::string userName; |
bool isAdmin; | ||
15 | </%session> | </%session> |
16 | ||
17 | ||
# | Line 28 if (userName.size() == 0) | Line 27 if (userName.size() == 0) |
27 | return HTTP_MOVED_TEMPORARILY; | return HTTP_MOVED_TEMPORARILY; |
28 | } | } |
29 | ||
30 | tntdb::Connection conn = tntdb::connect(dburl); | tntdb::Connection conn = tntdb::connectCached(dburl); |
31 | ||
32 | std::stringstream query; | std::stringstream query; |
33 | query << "DELETE FROM customer WHERE id = " << id; | query << "DELETE FROM customer WHERE id = " << id; |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |