mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR Temporarily disabled deprecation notice in SiteTreeDecorator, to be re-enabled once we're in beta
This commit is contained in:
parent
26151f2e4c
commit
c196c47c52
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user