* 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:
Scott Ullrich 2005-07-15 22:22:10 +00:00
parent 9e0b3dce2d
commit 6e2ec568aa

View File

@ -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;
}
?>