mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Removing deprecated File::TreeTitle(), use File::getTreeTitle() instead
This commit is contained in:
parent
e52db56ac8
commit
5a98cddd87
@ -234,14 +234,6 @@ class File extends DataObject {
|
||||
return $this->Filename;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 3.0 Use getTreeTitle()
|
||||
*/
|
||||
public function TreeTitle() {
|
||||
Deprecation::notice('3.0', 'Use getTreeTitle() instead.');
|
||||
return $this->getTreeTitle();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user