mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
(legacy) fix static in PEAR include
This commit is contained in:
parent
73b9974e8c
commit
dd680c8e0c
@ -170,7 +170,7 @@ class Crypt_CHAP_MSv1 extends Crypt_CHAP
|
||||
function Crypt_CHAP_MSv1()
|
||||
{
|
||||
$this->Crypt_CHAP();
|
||||
$this->loadExtension('hash');
|
||||
self::loadExtension('hash');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -704,7 +704,7 @@ class PEAR
|
||||
* @param string $ext The extension name
|
||||
* @return bool Success or not on the dl() call
|
||||
*/
|
||||
function loadExtension($ext)
|
||||
static function loadExtension($ext)
|
||||
{
|
||||
if (extension_loaded($ext)) {
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user