mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Temporarily disabled deprecation notice in DataObjectDecorator and LeftAndMainDecorator, to be re-enabled once we're in beta stage (they unnecessarily break too many modules for now
This commit is contained in:
parent
fbe4b3fbc9
commit
cbf191b14c
@ -7,10 +7,11 @@
|
||||
abstract class LeftAndMainDecorator extends LeftAndMainExtension {
|
||||
|
||||
public function __construct() {
|
||||
user_error(
|
||||
'LeftAndMainDecorator is deprecated, please use LeftAndMainExtension instead.',
|
||||
E_USER_NOTICE
|
||||
);
|
||||
// TODO Re-enable before we release 3.0 beta, for now it "breaks" too many modules
|
||||
// user_error(
|
||||
// 'LeftAndMainDecorator is deprecated, please use LeftAndMainExtension instead.',
|
||||
// E_USER_NOTICE
|
||||
// );
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
|
@ -7,10 +7,11 @@
|
||||
abstract class DataObjectDecorator extends DataExtension {
|
||||
|
||||
public function __construct() {
|
||||
user_error(
|
||||
'DataObjectDecorator is deprecated, please use DataExtension instead.',
|
||||
E_USER_NOTICE
|
||||
);
|
||||
// TODO Re-enable before we release 3.0 beta, for now it "breaks" too many modules
|
||||
// user_error(
|
||||
// 'DataObjectDecorator is deprecated, please use DataExtension instead.',
|
||||
// E_USER_NOTICE
|
||||
// );
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user