silverstripe/silverstripe-translatable — pull request #92 by Josua2012 (2013-02-01 20:52:38+00:00)
Title: FIXED: Object::has_extension deprecated('xxxxxx','xxxxxxx')

Hi!

The following lines are deprecated:
TranslatableCMSMainExtension.php (Line 92)

if($form->getName() == 'RootForm' && Object::has_extension('SiteConfig',"Translatable")) {

TranslatableCMSMainExtension.php (Line 214)

return Object::has_extension('SiteTree', 'Translatable');

LanguageDropdownField.php (Line 96)

if ($id && $class && class_exists($class) && Object::has_extension($class, 'Translatable')) {

Translatable.php (Line 498)

return Object::has_extension('SiteTree', 'Translatable');

Translatable.php (Line 1457)

if(!Object::has_extension('SiteTree', 'Translatable') || !class_exists('SiteTree')) return false;

Regards,
Jose A.