Remove Title::escapeFragmentForURL, deprecated in 1.30, unused
[lhc/web/wiklou.git] / includes / GlobalFunctions.php
index a74060c..bd98932 100644 (file)
@@ -3123,7 +3123,7 @@ function wfIsBadImage( $name, $contextTitle = false, $blacklist = null ) {
 function wfCanIPUseHTTPS( $ip ) {
        $canDo = true;
        Hooks::run( 'CanIPUseHTTPS', [ $ip, &$canDo ] );
-       return !!$canDo;
+       return (bool)$canDo;
 }
 
 /**