Browse Source

Disabled database transaction in the FortuneController.

AOYAMA Kazuharu 11 years ago
parent
commit
9aea364d3a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      treefrog/controllers/fortunecontroller.h

+ 2 - 0
treefrog/controllers/fortunecontroller.h

@@ -10,6 +10,8 @@ class T_CONTROLLER_EXPORT FortuneController : public ApplicationController
 public:
     FortuneController() { }
     FortuneController(const FortuneController &other);
+    bool sessionEnabled() const { return false; }
+    bool transactionEnabled() const { return false; }
 
 public slots:
     void index();