Homec4science

Set some defaults back to correctness.

Authored by Ricky Elrod <ricky@elrod.me> on Jan 24 2013, 21:05.

Description

Set some defaults back to correctness.

Summary:
There were a few defaults that got changed when porting to PHP. Most of them
seem to be accidental, so this diff sets them back to correctness.

Test Plan:

php> require '../libphutil/src/__phutil_library_init__.php';
php> require 'src/__phutil_library_init__.php'
php> $a = PhabricatorApplicationConfigOptions::loadAllOptions()
php> $b = require 'conf/default.conf.php';
php> $x = array();
php> foreach($a as $key => $obj) { $x[$key] = $obj->getDefault(); }
php> foreach($x as $key => $default) { if ($b[$key] != $default) { echo "$key has different default.\n"; } }

log.access.format has different default.
(seems to be intentional)

PHP Notice:  Undefined index: phabricator.env in /usr/lib/python2.7/site-packages/phpsh/phpsh.php(577) : eval()'d code on line 1
(no longer in config file)

PHP Notice:  Undefined index: test.value in /usr/lib/python2.7/site-packages/phpsh/phpsh.php(577) : eval()'d code on line 1
(not in config file)

metamta.default-address has different default.
(intentional)

metamta.domain has different default.
(intentional)

PHP Notice:  Undefined index: phid.external-loaders in /usr/lib/python2.7/site-packages/phpsh/phpsh.php(577) : eval()'d code on line 1
(no longer in config file)

phame.skins has different default.
(fixed in D4618)

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2255

Differential Revision: https://secure.phabricator.com/D4621

Details

Committed
epriestley <git@epriestley.com>Jan 24 2013, 21:10
Pushed
aubortJan 31 2017, 17:16
Parents
rPH68affb72ec49: PHT's for Differential.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHe99048888927: Set some defaults back to correctness. (authored by Ricky Elrod <ricky@elrod.me>).Jan 24 2013, 21:10