mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
* Restore are_notices_pending(). Getting the actual message is expensive on smaller devices if none are pending.
* Remove trailing file space.
This commit is contained in:
parent
9e0b3dce2d
commit
6e2ec568aa
@ -156,4 +156,14 @@ function print_notice_box($category = "all") {
|
||||
print_info_box_np(print_notices($notices, $category));
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
function are_notices_pending($category = "all") {
|
||||
global $notice_path;
|
||||
if(file_exists($notice_path)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user