r39469 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39468‎ | r39469 | r39470 >
Date:11:28, 16 August 2008
Author:ialex
Status:old
Tags:
Comment:
fix for last commit: the (bool) is not needed
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUserlogin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUserlogin.php
@@ -816,7 +816,7 @@
817817 $template->set( 'useemail', $wgEnableEmail );
818818 $template->set( 'emailrequired', $wgEmailConfirmToEdit );
819819 $template->set( 'canreset', $wgAuth->allowPasswordChange() );
820 - $template->set( 'canremember', (bool)$wgEnablePersistentCookies );
 820+ $template->set( 'canremember', $wgEnablePersistentCookies );
821821 $template->set( 'remember', $wgUser->getOption( 'rememberpassword' ) or $this->mRemember );
822822
823823 # Prepare language selection links as needed

Status & tagging log