|
@@ 127-133 (lines=7) @@
|
| 124 |
|
} |
| 125 |
|
|
| 126 |
|
$email_batch_time = 3600; |
| 127 |
|
if ($notify_setting_batchtime === UserSettings::EMAIL_SEND_DAILY) { |
| 128 |
|
$email_batch_time = 3600 * 24; |
| 129 |
|
} else if ($notify_setting_batchtime === UserSettings::EMAIL_SEND_WEEKLY) { |
| 130 |
|
$email_batch_time = 3600 * 24 * 7; |
| 131 |
|
} else if ($notify_setting_batchtime === UserSettings::EMAIL_SEND_ASAP) { |
| 132 |
|
$email_batch_time = 0; |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
$this->config->setUserValue( |
| 136 |
|
$this->user, 'activity', |
|
@@ 189-195 (lines=7) @@
|
| 186 |
|
} |
| 187 |
|
|
| 188 |
|
$email_batch_time = 3600; |
| 189 |
|
if ($notify_setting_batchtime === UserSettings::EMAIL_SEND_DAILY) { |
| 190 |
|
$email_batch_time = 3600 * 24; |
| 191 |
|
} else if ($notify_setting_batchtime === UserSettings::EMAIL_SEND_WEEKLY) { |
| 192 |
|
$email_batch_time = 3600 * 24 * 7; |
| 193 |
|
} else if ($notify_setting_batchtime === UserSettings::EMAIL_SEND_ASAP) { |
| 194 |
|
$email_batch_time = 0; |
| 195 |
|
} |
| 196 |
|
|
| 197 |
|
$this->config->setAppValue( |
| 198 |
|
'activity', |