mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API CHANGE Removed @deprecated 2.3 method Varchar::Attr() on Varchar: Please use Varchar::ATT_val() instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77380 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e27f41238d
commit
ed39a9e369
@ -30,14 +30,6 @@ class Varchar extends DBField {
|
||||
if($this->value) return $this->value[0] . '.';
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 2.3 Use ATT_val()
|
||||
*/
|
||||
function Attr() {
|
||||
user_error("Varchar::Attr() is deprecated. Use ATT_val() instead.", E_USER_NOTICE);
|
||||
return Convert::raw2att($this->value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure that the given value is an absolute URL.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user