Commit 8d46b6cf authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) fix static in PEAR include

parent cd91b678
...@@ -170,7 +170,7 @@ class Crypt_CHAP_MSv1 extends Crypt_CHAP ...@@ -170,7 +170,7 @@ class Crypt_CHAP_MSv1 extends Crypt_CHAP
function Crypt_CHAP_MSv1() function Crypt_CHAP_MSv1()
{ {
$this->Crypt_CHAP(); $this->Crypt_CHAP();
$this->loadExtension('hash'); self::loadExtension('hash');
} }
/** /**
......
...@@ -704,7 +704,7 @@ class PEAR ...@@ -704,7 +704,7 @@ class PEAR
* @param string $ext The extension name * @param string $ext The extension name
* @return bool Success or not on the dl() call * @return bool Success or not on the dl() call
*/ */
function loadExtension($ext) static function loadExtension($ext)
{ {
if (extension_loaded($ext)) { if (extension_loaded($ext)) {
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment