Set device to false for all pages which don't specify device readiness

Summary:
Ref T5446.

  - For all callsites which do not specify a value, set `false` explicitly.
  - Make `true` the default.

Test Plan: Used `grep`, then manually went through everything.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5446

Differential Revision: https://secure.phabricator.com/D9687
This commit is contained in:
epriestley
2014-06-23 15:15:11 -07:00
parent 44ed1ad87f
commit ca6bd26475
19 changed files with 20 additions and 1 deletions

View File

@@ -293,7 +293,7 @@ abstract class PhabricatorController extends AphrontController {
}
}
if (idx($options, 'device')) {
if (idx($options, 'device', true)) {
$page->setDeviceReady(true);
}