r96411 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96410‎ | r96411 | r96412 >
Date:09:21, 7 September 2011
Author:nikerabbit
Status:ok (Comments)
Tags:
Comment:
Removed old constants: 1) not used 2) because of autoloader, they have not necessarily even been available for long time.
Modified paths:
  • /trunk/phase3/includes/LogPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogPage.php
@@ -577,11 +577,3 @@
578578 return $messages[$flag];
579579 }
580580 }
581 -
582 -/**
583 - * Aliases for backwards compatibility with 1.6
584 - */
585 -define( 'MW_LOG_DELETED_ACTION', LogPage::DELETED_ACTION );
586 -define( 'MW_LOG_DELETED_USER', LogPage::DELETED_USER );
587 -define( 'MW_LOG_DELETED_COMMENT', LogPage::DELETED_COMMENT );
588 -define( 'MW_LOG_DELETED_RESTRICTED', LogPage::DELETED_RESTRICTED );

Comments

#Comment by Reedy (talk | contribs)   11:10, 7 September 2011

Think of 1.6 compat!?

#Comment by Nikerabbit (talk | contribs)   14:19, 7 September 2011

Sweet sixteen... oh, it's just six.

Status & tagging log