Skip to content
Browse files

MINOR Temporarily disabled deprecation notice in SiteTreeDecorator, t…

…o be re-enabled once we're in beta
  • Loading branch information...
1 parent 26151f2 commit c196c47c52f986dd09427bf4157ef5fa8aa17cd6 @chillu chillu committed May 19, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 code/model/SiteTreeDecorator.php
View
9 code/model/SiteTreeDecorator.php
@@ -7,10 +7,11 @@
abstract class SiteTreeDecorator extends SiteTreeExtension {
public function __construct() {
- user_error(
- 'SiteTreeDecorator is deprecated, please use SiteTreeExtension instead.',
- E_USER_NOTICE
- );
+ // TODO Re-enable before we release 3.0 beta, for now it "breaks" too many modules
+ // user_error(
+ // 'SiteTreeDecorator is deprecated, please use SiteTreeExtension instead.',
+ // E_USER_NOTICE
+ // );
parent::__construct();
}

0 comments on commit c196c47

Please sign in to comment.
Something went wrong with that request. Please try again.