User "MaxSem" posted a comment on MediaWiki.r86113.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/86113#c15992
Commit summary:

* added E_DEPRECATED into wfSupressWarnings

merge into 1.17 if required PHP version will be 5.3+

Comment:

Consider the following:
<pre>
wfSuppressWarnings();
$db = &wfGetDB( DB_SLAVE );
wfRestoreWarnings();
</pre>
Why don't you want to be able to be informed about such problems?

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to