$wgArticle is deprecated! Possible removal in 1.20 or 1.21!
[lhc/web/wiklou.git] / includes / Setup.php
index 2cd6b0a..2ae28ad 100644 (file)
@@ -443,13 +443,12 @@ if ( !is_object( $wgAuth ) ) {
 
 # Placeholders in case of DB error
 $wgTitle = null;
-$wgArticle = null;
 
 $wgDeferredUpdateList = array();
 
-// We need to check for safe_mode, because mail() willl throws an E_NOTICE
+// We need to check for safe_mode, because mail() will throw an E_NOTICE
 // on additional parameters
-if( !is_null($wgAdditionalMailParams) && wgIniGetBool('safe_mode') ) {
+if( !is_null($wgAdditionalMailParams) && wfIniGetBool('safe_mode') ) {
        $wgAdditionalMailParams = null;
 }