php drupal-check.phar modules/contrib/redirect_after_logout/
 4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ --------------------------------------------------- 
  Line   redirect_after_logout.module                       
 ------ --------------------------------------------------- 
  35     Call to deprecated function drupal_set_message().  
 ------ --------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 1 error

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new763 bytes

Here's the patch, please review.

swatichouhan012’s picture

StatusFileSize
new214.8 KB

@Sergiu Stici patch looks good.

mo_farhaz’s picture

StatusFileSize
new372 bytes

No other code deprecation.
core version requirement added.

shaktik’s picture

I have just review the above patch fixed Deprecated Code but still have some other error attached screenshot.

 4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ----------------------------------------------------------------------------------
  Line   redirect_after_logout.module
 ------ ----------------------------------------------------------------------------------
  33     Method Drupal\Core\Config\Config::get() invoked with 2 parameters, 0-1 required.
  56     Method Drupal\Core\Config\Config::get() invoked with 2 parameters, 0-1 required.
 ------ ----------------------------------------------------------------------------------
shaktik’s picture

StatusFileSize
new190.03 KB

  • nevergone committed f9d5bd2 on 8.x-1.x authored by mo_farhaz
    Issue #3082254 by Sergiu Stici, mo_farhaz, shaktik, swatichouhan012:...
nevergone’s picture

Status: Needs review » Fixed

  • nevergone committed 81a64a7 on 8.x-1.x authored by mo_farhaz
    Issue #3082254 by Sergiu Stici, mo_farhaz, shaktik, swatichouhan012,...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.