summaryrefslogtreecommitdiffstats
path: root/etc/inc/notices.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-11 20:53:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-11 20:53:49 +0000
commit73ef871b3a113c7ce009672b93aa996bebb1d4be (patch)
tree2ff70ffc73868f1ec577225c6885e12ec93c9986 /etc/inc/notices.inc
parent57bad82986427f59499efbafa2182e37d101e74d (diff)
downloadpfsense-73ef871b3a113c7ce009672b93aa996bebb1d4be.zip
pfsense-73ef871b3a113c7ce009672b93aa996bebb1d4be.tar.gz
* Add are_notices_pending()
* Remove trailing space
Diffstat (limited to 'etc/inc/notices.inc')
-rw-r--r--etc/inc/notices.inc11
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
OpenPOWER on IntegriCloud