MDL-85897 core: Move all deprecations to emit_deprecation
This commit is contained in:
@@ -126,7 +126,7 @@ abstract class task_base {
|
||||
final: true,
|
||||
)]
|
||||
public function set_blocking() {
|
||||
\core\deprecation::emit_deprecation_if_present([$this, __FUNCTION__]);
|
||||
\core\deprecation::emit_deprecation([$this, __FUNCTION__]);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -140,7 +140,7 @@ abstract class task_base {
|
||||
final: true,
|
||||
)]
|
||||
public function is_blocking() {
|
||||
\core\deprecation::emit_deprecation_if_present([$this, __FUNCTION__]);
|
||||
\core\deprecation::emit_deprecation([$this, __FUNCTION__]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user