MINOR Disabled deprecation warning in CommentsExtension->PageComments(), its very commonly used in pretty much every theme out there, and needlessly annoying to throw a warning for

This commit is contained in:
Ingo Schommer 2010-12-17 10:21:58 +13:00
parent 2f0a022059
commit cf336d7fb3
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,8 @@ class CommentsExtension extends DataObjectDecorator {
* @deprecated 1.0 Please use {@link CommentsExtension->CommentsForm()}
*/
function PageComments() {
user_error('$PageComments is deprecated. Please use $CommentsForm', E_USER_WARNING);
// This method is very commonly used, don't throw a warning just yet
//user_error('$PageComments is deprecated. Please use $CommentsForm', E_USER_WARNING);
return $this->CommentsForm();
}