mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
* Add are_notices_pending()
* Remove trailing space
This commit is contained in:
parent
57bad82986
commit
73ef871b3a
@ -157,4 +157,13 @@ 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