(legacy) fix static in PEAR include

This commit is contained in:
Ad Schellevis 2015-07-06 08:35:04 +00:00
parent 73b9974e8c
commit dd680c8e0c
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ class Crypt_CHAP_MSv1 extends Crypt_CHAP
function Crypt_CHAP_MSv1()
{
$this->Crypt_CHAP();
$this->loadExtension('hash');
self::loadExtension('hash');
}
/**

View File

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