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
2f650f35e6
commit
bbceec685f
@ -484,7 +484,8 @@ function get_notices_xmlrpc($raw_params) {
|
||||
xmlrpc_authfail();
|
||||
return $xmlrpc_g['return']['authfail'];
|
||||
}
|
||||
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