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:
@@ -293,7 +293,7 @@ abstract class PhabricatorController extends AphrontController {
|
||||
}
|
||||
}
|
||||
|
||||
if (idx($options, 'device')) {
|
||||
if (idx($options, 'device', true)) {
|
||||
$page->setDeviceReady(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user