mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
PEAR static method call warning
Forum https://forum.pfsense.org/index.php?topic=86478.0 PEAR is used by IPv6.inc auth.inc captiveportal.inc radius.inc xmlrpc_client.inc radius_accounting.inc radius_authentication.inc I have just changed this 1 function to "public static" Also used are: PEAR::raiseError PEAR::loadExtension (already has "static function") Not sure if PEAR::raiseError will throw a similar "static method" call warning, not game to touch it.
This commit is contained in:
parent
ecefba29ec
commit
0391b39b90
@ -247,7 +247,7 @@ class PEAR
|
||||
* @access public
|
||||
* @return bool true if parameter is an error
|
||||
*/
|
||||
function isError($data, $code = null)
|
||||
public static function isError($data, $code = null)
|
||||
{
|
||||
if (!is_object($data)) {
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user