/[H9]/trunk/tntnet/dynamic/adm_installation_delete.ecpp
ViewVC logotype

Diff of /trunk/tntnet/dynamic/adm_installation_delete.ecpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 101 by torben, Thu Nov 29 13:59:21 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 30  if (userName.size() == 0) Line 29  if (userName.size() == 0)
29          return HTTP_MOVED_TEMPORARILY;          return HTTP_MOVED_TEMPORARILY;
30  }  }
31                    
32  tntdb::Connection conn = tntdb::connect(dburl);  tntdb::Connection conn = tntdb::connectCached(dburl);
33    
34  std::stringstream query;  std::stringstream query;
35  query << "DELETE FROM installation WHERE id = " << id;  query << "DELETE FROM installation WHERE id = " << id;

Legend:
Removed from v.101  
changed lines
  Added in v.195

  ViewVC Help
Powered by ViewVC 1.1.20