@@ 106-113 (lines=8) @@ | ||
103 | } |
|
104 | ||
105 | // Insert the alerts if any |
|
106 | if (!empty($alert_rows)) |
|
107 | $smcFunc['db_insert']('', |
|
108 | '{db_prefix}user_alerts', |
|
109 | array('alert_time' => 'int', 'id_member' => 'int', 'id_member_started' => 'int', 'member_name' => 'string', |
|
110 | 'content_type' => 'string', 'content_id' => 'int', 'content_action' => 'string', 'is_read' => 'int', 'extra' => 'string'), |
|
111 | $alert_rows, |
|
112 | array() |
|
113 | ); |
|
114 | ||
115 | return true; |
|
116 | } |
@@ 99-106 (lines=8) @@ | ||
96 | } |
|
97 | ||
98 | // Insert the alerts if any |
|
99 | if (!empty($alert_rows)) |
|
100 | $smcFunc['db_insert']('', |
|
101 | '{db_prefix}user_alerts', |
|
102 | array('alert_time' => 'int', 'id_member' => 'int', 'id_member_started' => 'int', 'member_name' => 'string', |
|
103 | 'content_type' => 'string', 'content_id' => 'int', 'content_action' => 'string', 'is_read' => 'int', 'extra' => 'string'), |
|
104 | $alert_rows, |
|
105 | array() |
|
106 | ); |
|
107 | ||
108 | return true; |
|
109 | } |
@@ 215-222 (lines=8) @@ | ||
212 | ); |
|
213 | ||
214 | // Insert the alerts if any |
|
215 | if (!empty($alert_rows)) |
|
216 | $smcFunc['db_insert']('', |
|
217 | '{db_prefix}user_alerts', |
|
218 | array('alert_time' => 'int', 'id_member' => 'int', 'id_member_started' => 'int', 'member_name' => 'string', |
|
219 | 'content_type' => 'string', 'content_id' => 'int', 'content_action' => 'string', 'is_read' => 'int', 'extra' => 'string'), |
|
220 | $alert_rows, |
|
221 | array() |
|
222 | ); |
|
223 | ||
224 | return true; |
|
225 | } |
@@ 1594-1601 (lines=8) @@ | ||
1591 | } |
|
1592 | ||
1593 | // Insert the alerts if any |
|
1594 | if (!empty($alert_rows)) |
|
1595 | $smcFunc['db_insert']('', |
|
1596 | '{db_prefix}user_alerts', |
|
1597 | array('alert_time' => 'int', 'id_member' => 'int', 'id_member_started' => 'int', 'member_name' => 'string', |
|
1598 | 'content_type' => 'string', 'content_id' => 'int', 'content_action' => 'string', 'is_read' => 'int', 'extra' => 'string'), |
|
1599 | $alert_rows, |
|
1600 | array() |
|
1601 | ); |
|
1602 | ||
1603 | // Mark the reminder as sent. |
|
1604 | if (!empty($subs_reminded)) |