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:
Ingo Schommer 2011-05-19 10:25:15 +12:00
parent fbe4b3fbc9
commit cbf191b14c
2 changed files with 10 additions and 8 deletions

View File

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

View File

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