Sfoglia il codice sorgente

Deprecate static writeLog() method

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v13.0.0beta1
Morris Jobke 7 anni fa
parent
commit
d6adc0eba1
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1
    0
      lib/private/App/CodeChecker/DeprecationCheck.php
  2. 1
    0
      lib/public/Util.php

+ 1
- 0
lib/private/App/CodeChecker/DeprecationCheck.php Vedi File

@@ -157,6 +157,7 @@ class DeprecationCheck extends AbstractCheck implements ICheck {
'OCP\Util::mb_str_replace' => '8.2.0',
'OCP\Util::mb_substr_replace' => '8.2.0',
'OCP\Util::sendMail' => '8.1.0',
'OCP\Util::writeLog' => '13.0.0',
];
}
}

+ 1
- 0
lib/public/Util.php Vedi File

@@ -150,6 +150,7 @@ class Util {
* @param string $message
* @param int $level
* @since 4.0.0
* @deprecated 13.0.0 use log of \OCP\ILogger
*/
public static function writeLog( $app, $message, $level ) {
$context = ['app' => $app];

Loading…
Annulla
Salva