Revision 285ef132
Added by Ermal Luçi over 10 years ago
etc/inc/notices.inc | ||
---|---|---|
267 | 267 |
******/ |
268 | 268 |
function notify_via_smtp($message, $force = false) { |
269 | 269 |
global $config, $g; |
270 |
if($g['booting'])
|
|
270 |
if(platform_booting())
|
|
271 | 271 |
return; |
272 | 272 |
|
273 | 273 |
if(isset($config['notifications']['smtp']['disable']) && !$force) |
Also available in: Unified diff
Rather than set the g['booting'] on globals provide a function to test for that doing the right checks