Merge pull request #9204 from open-sausages/pulls/4.3/remove-dumb-place-holder-text

BUG Remove placeholder text on new group form
This commit is contained in:
Maxime Rainville 2019-08-29 09:05:38 +12:00 committed by GitHub
commit 4cfce30842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,15 +83,6 @@ class Group extends DataObject
private static $table_name = "Group"; private static $table_name = "Group";
public function populateDefaults()
{
parent::populateDefaults();
if (!$this->Title) {
$this->Title = _t(__CLASS__ . '.NEWGROUP', "New Group");
}
}
public function getAllChildren() public function getAllChildren()
{ {
$doSet = new ArrayList(); $doSet = new ArrayList();