mirror of
https://we.phorge.it/source/phorge.git
synced 2025-04-13 12:58:39 +02:00
Summary: Ref T4103. Just porting these directly for now, no attempt to organize things yet. Test Plan: {F1669263} Reviewers: chad Reviewed By: chad Maniphest Tasks: T4103 Differential Revision: https://secure.phabricator.com/D15997
18 lines
352 B
PHP
18 lines
352 B
PHP
<?php
|
|
|
|
abstract class PhabricatorStringSetting
|
|
extends PhabricatorSetting {
|
|
|
|
final protected function newCustomEditField($object) {
|
|
return $this->newEditField($object, new PhabricatorTextEditField());
|
|
}
|
|
|
|
public function getTransactionNewValue($value) {
|
|
if (!strlen($value)) {
|
|
return null;
|
|
}
|
|
|
|
return (string)$value;
|
|
}
|
|
|
|
}
|