Skip to content

Commit

Permalink
Use config_get_global for logout_redirect_page
Browse files Browse the repository at this point in the history
Issue #23626
  • Loading branch information
atrol committed Nov 13, 2017
1 parent c5614ea commit 46034e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion account_delete.php
Expand Up @@ -103,7 +103,7 @@
<div class="space-10"></div>
<?php
echo lang_get( 'account_removed_msg' ) . '<br />';
print_link_button( config_get( 'logout_redirect_page' ), lang_get( 'proceed' ));
print_link_button( config_get_global( 'logout_redirect_page' ), lang_get( 'proceed' ));
?>
</div>

Expand Down
2 changes: 1 addition & 1 deletion core/classes/AuthFlags.class.php
Expand Up @@ -267,7 +267,7 @@ function setLogoutRedirectPage( $p_page ) {
*/
function getLogoutRedirectPage() {
if( is_null( $this->logout_redirect_page ) ) {
return config_get( 'logout_redirect_page' );
return config_get_global( 'logout_redirect_page' );
}

return $this->logout_redirect_page;
Expand Down

0 comments on commit 46034e5

Please sign in to comment.