mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-38373 Use correct PEAR->loadExtension()
Current use is wrong (static) and leads to strict standards notice.
This commit is contained in:
parent
7112729206
commit
07c4a94952
2 changed files with 8 additions and 1 deletions
|
@ -46,7 +46,7 @@ require_once 'PEAR.php';
|
|||
* @version $Revision$
|
||||
*/
|
||||
|
||||
PEAR::loadExtension('radius');
|
||||
// PEAR::loadExtension('radius'); // Moodle commented. See MDL-38373.
|
||||
|
||||
/**
|
||||
* class Auth_RADIUS
|
||||
|
@ -127,6 +127,7 @@ class Auth_RADIUS extends PEAR {
|
|||
*/
|
||||
function Auth_RADIUS()
|
||||
{
|
||||
$this->loadExtension('radius'); // Moodle added. See MDL-38373.
|
||||
$this->PEAR();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue