mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use function_exists test
This commit is contained in:
parent
7553877692
commit
2f650f35e6
@ -300,7 +300,8 @@ function get_notices_zeromq($raw_params) {
|
||||
$params = $raw_params;
|
||||
if(zeromq_auth($raw_params) == false)
|
||||
return ZEROMQ_AUTH_FAIL;
|
||||
require_once("notices.inc");
|
||||
if(!function_exists("get_notices"))
|
||||
require("notices.inc");
|
||||
if(!$params) {
|
||||
$toreturn = get_notices();
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user