mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Remove "preview.viewport-meta-tag" config
Summary: This is obsolete with the 'device' => true stuff, which is more granular and generally better. Test Plan: grep Reviewers: btrahan, codeblock Reviewed By: btrahan CC: aran Maniphest Tasks: T2255 Differential Revision: https://secure.phabricator.com/D4309
This commit is contained in:
parent
c32295aab6
commit
5897b4a116
2 changed files with 1 additions and 10 deletions
|
@ -1370,14 +1370,6 @@ return array(
|
|||
// a large number (to sample only a few requests).
|
||||
'debug.profile-rate' => 0,
|
||||
|
||||
|
||||
// -- Previews ------------------------------------------------------------- //
|
||||
|
||||
// Turn on to enable the "viewport" meta tag. This is a preview feature which
|
||||
// will improve the usability of Phabricator on phones and tablets once it
|
||||
// is ready.
|
||||
'preview.viewport-meta-tag' => false,
|
||||
|
||||
// -- Environment ---------------------------------------------------------- //
|
||||
|
||||
// Phabricator occasionally shells out to other binaries on the server.
|
||||
|
|
|
@ -65,8 +65,7 @@ class PhabricatorBarePageView extends AphrontPageView {
|
|||
}
|
||||
|
||||
$viewport_tag = null;
|
||||
if (PhabricatorEnv::getEnvConfig('preview.viewport-meta-tag') ||
|
||||
$this->getDeviceReady()) {
|
||||
if ($this->getDeviceReady()) {
|
||||
$viewport_tag = phutil_render_tag(
|
||||
'meta',
|
||||
array(
|
||||
|
|
Loading…
Reference in a new issue