API CHANGE Removed deprecated method Object::extInstance(), please use Object::getExtensionInstance() instead

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115056 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2010-12-15 04:30:00 +00:00
parent 744791219e
commit a5f5617ab2

View File

@ -1093,12 +1093,4 @@ abstract class Object {
return str_replace(array('~', '.', '/', '!', ' ', "\n", "\r", "\t", '\\', ':', '"', '\'', ';'), '_', $name);
}
/**
* @deprecated 2.4 Use getExtensionInstance
*/
public function extInstance($extension) {
user_error('Object::extInstance() is deprecated. Please use Object::getExtensionInstance() instead.', E_USER_NOTICE);
return $this->getExtensionInstance($extension);
}
}