diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc index 60789ce5d2..b53a5ed8f0 100644 --- a/etc/inc/notices.inc +++ b/etc/inc/notices.inc @@ -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; +} + +?> \ No newline at end of file