Commit 823ab3168aed5ae0e4de27139d56b50c0ab0787c
- Diff rendering mode:
- inline
- side by side
htdocs/lib/activity.php
(8 / 1)
|   | |||
| 190 | 190 | } | |
| 191 | 191 | $viewsnotified[$data->view] = true; | |
| 192 | 192 | } | |
| 193 | handle_activity($activity->type, $data, true); | ||
| 193 | try { | ||
| 194 | handle_activity($activity->type, $data, true); | ||
| 195 | } | ||
| 196 | catch (MaharaException $e) { | ||
| 197 | // Exceptions can happen while processing the queue, we just | ||
| 198 | // log them and continue | ||
| 199 | log_debug($e->getMessage()); | ||
| 200 | } | ||
| 194 | 201 | } | |
| 195 | 202 | delete_records('activity_queue'); | |
| 196 | 203 | } |

