MINOR Temporarily disabled deprecation notice in SiteTreeDecorator, to be re-enabled once we're in beta

This commit is contained in:
Ingo Schommer 2011-05-19 11:11:48 +12:00
parent 26151f2e4c
commit c196c47c52

View File

@ -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();
}