diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-11 20:53:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-11 20:53:49 +0000 |
commit | 73ef871b3a113c7ce009672b93aa996bebb1d4be (patch) | |
tree | 2ff70ffc73868f1ec577225c6885e12ec93c9986 | |
parent | 57bad82986427f59499efbafa2182e37d101e74d (diff) | |
download | pfsense-73ef871b3a113c7ce009672b93aa996bebb1d4be.zip pfsense-73ef871b3a113c7ce009672b93aa996bebb1d4be.tar.gz |
* Add are_notices_pending()
* Remove trailing space
-rw-r--r-- | etc/inc/notices.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc index 4b8988d..f906301 100644 --- a/etc/inc/notices.inc +++ b/etc/inc/notices.inc @@ -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; +} + +?>
\ No newline at end of file |