Permalink
Browse files

emove deprecated StringField::Lower() and Upper() methods

Use LowerCase() and UpperCase() instead
  • Loading branch information...
1 parent 9e7bdb3 commit 5c983a25f0e57780aedc0b8d5e8f1ade482f056c @halkyon halkyon committed Nov 14, 2012
Showing with 0 additions and 20 deletions.
  1. +0 −20 model/fieldtypes/StringField.php
@@ -11,8 +11,6 @@
static $casting = array(
"LimitCharacters" => "Text",
- "Lower" => "Text",
- "Upper" => "Text",
"LowerCase" => "Text",
"UpperCase" => "Text",
);
@@ -114,15 +112,6 @@ public function LimitCharacters($limit = 20, $add = '...') {
public function LowerCase() {
return mb_strtolower($this->value);
}
-
- /**
- * Return another DBField object with this value in lowercase.
- * @deprecated 3.0 Use LowerCase() instead.
- */
- public function Lower() {
- Deprecation::notice('3.0', 'Use LowerCase() instead.');
- return $this->LowerCase();
- }
/**
* Converts the current value for this Enum DBField to uppercase.
@@ -132,13 +121,4 @@ public function UpperCase() {
return mb_strtoupper($this->value);
}
- /**
- * Return another DBField object with this value in uppercase.
- * @deprecated 3.0 Use UpperCase() instead.
- */
- public function Upper() {
- Deprecation::notice('3.0', 'Use UpperCase() instead.');
- return $this->UpperCase();
- }
-
}

0 comments on commit 5c983a2

Please sign in to comment.