Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 316... Línea 316...
316
        $this->application = $DB->get_record('mnet_application', array('id'=>$this->applicationid));
316
        $this->application = $DB->get_record('mnet_application', array('id'=>$this->applicationid));
317
        $this->bootstrapped = true;
317
        $this->bootstrapped = true;
318
    }
318
    }
Línea 319... Línea 319...
319
 
319
 
320
    /**
-
 
321
     * Get public key.
-
 
322
     *
320
    /**
323
     * @deprecated since Moodle 4.3
-
 
324
     * @todo MDL-78304 Final deprecation.
321
     * @deprecated since Moodle 4.3
325
     */
-
 
326
    function get_public_key() {
322
     */
327
        debugging('Function get_public_key() is deprecated.', DEBUG_DEVELOPER);
323
    #[\core\attribute\deprecated(null, since: '4.3', mdl: 'MDL-77341', final: true)]
328
        if (isset($this->public_key_ref)) return $this->public_key_ref;
324
    public function get_public_key(): void {
329
        $this->public_key_ref = openssl_pkey_get_public($this->public_key);
-
 
330
        return $this->public_key_ref;
325
        \core\deprecation::emit_deprecation([self::class, __FUNCTION__]);
331
    }
326
    }