summaryrefslogtreecommitdiffstatshomepage
path: root/core/includes
diff options
context:
space:
mode:
Diffstat (limited to 'core/includes')
-rw-r--r--core/includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/includes/common.inc b/core/includes/common.inc
index caf7d72f4d14..47f360caffe9 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -488,7 +488,7 @@ function drupal_flush_all_caches($kernel = NULL): void {
* @see hook_updater_info_alter()
*/
function drupal_get_updaters() {
- @trigger_error(__METHOD__ . '() is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. Use composer to manage the code for your site. See https://www.drupal.org/node/3512364', E_USER_DEPRECATED);
+ @trigger_error(__FUNCTION__ . '() is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. Use composer to manage the code for your site. See https://www.drupal.org/node/3512364', E_USER_DEPRECATED);
$updaters = &drupal_static(__FUNCTION__);
if (!isset($updaters)) {
@@ -510,7 +510,7 @@ function drupal_get_updaters() {
* @see hook_filetransfer_info_alter()
*/
function drupal_get_filetransfer_info() {
- @trigger_error(__METHOD__ . '() is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. Use composer to manage the code for your site. See https://www.drupal.org/node/3512364', E_USER_DEPRECATED);
+ @trigger_error(__FUNCTION__ . '() is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. Use composer to manage the code for your site. See https://www.drupal.org/node/3512364', E_USER_DEPRECATED);
$info = &drupal_static(__FUNCTION__);
if (!isset($info)) {