summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-06-22 18:14:28 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-06-23 11:21:46 -0500
commitd6adc0eba1c163a0adea620fcf53497f6ebe518b (patch)
tree79a5103b22a010dee005283a128b3fa34cdfdb36
parent65b4e2a1db8642086d5415df6219b7c33d9399f1 (diff)
downloadnextcloud-server-d6adc0eba1c163a0adea620fcf53497f6ebe518b.tar.gz
nextcloud-server-d6adc0eba1c163a0adea620fcf53497f6ebe518b.zip
Deprecate static writeLog() method
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--lib/private/App/CodeChecker/DeprecationCheck.php1
-rw-r--r--lib/public/Util.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/App/CodeChecker/DeprecationCheck.php b/lib/private/App/CodeChecker/DeprecationCheck.php
index a700345238b..e19e06dd8f2 100644
--- a/lib/private/App/CodeChecker/DeprecationCheck.php
+++ b/lib/private/App/CodeChecker/DeprecationCheck.php
@@ -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',
];
}
}
diff --git a/lib/public/Util.php b/lib/public/Util.php
index c2324e59bd4..02b59c370a0 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -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];