Activate comment id if pending.
(self, id)
| 140 | ) |
| 141 | |
| 142 | def activate(self, id): |
| 143 | """ |
| 144 | Activate comment id if pending. |
| 145 | """ |
| 146 | self.db.execute(["UPDATE comments SET", " mode=1", "WHERE id=? AND mode=2"], (id,)) |
| 147 | |
| 148 | def is_previously_approved_author(self, email): |
| 149 | """ |