1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 05:20:56 +01:00

Remove all device = true from page construction

Summary: Fixes T5446. Depends on D9687.

Test Plan: Mostly regexp'd this. Lint doesn't complain.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley, hach-que

Maniphest Tasks: T5446

Differential Revision: https://secure.phabricator.com/D9690
This commit is contained in:
epriestley 2014-06-23 15:18:14 -07:00
parent ca6bd26475
commit 46d9bebc84
195 changed files with 15 additions and 198 deletions

View file

@ -80,7 +80,6 @@ final class PhabricatorAuthConfirmLinkController
), ),
array( array(
'title' => pht('Confirm External Account Link'), 'title' => pht('Confirm External Account Link'),
'device' => true,
)); ));
} }

View file

@ -23,7 +23,6 @@ abstract class PhabricatorAuthController extends PhabricatorController {
$view, $view,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -131,7 +131,6 @@ final class PhabricatorAuthLinkController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -233,7 +233,6 @@ final class PhabricatorAuthLoginController
), ),
array( array(
'title' => pht('Login'), 'title' => pht('Login'),
'device' => true,
)); ));
} }

View file

@ -33,7 +33,6 @@ final class PhabricatorAuthNeedsApprovalController
$dialog, $dialog,
array( array(
'title' => pht('Wait For Approval'), 'title' => pht('Wait For Approval'),
'device' => true,
)); ));
} }

View file

@ -85,7 +85,6 @@ final class PhabricatorAuthNeedsMultiFactorController
), ),
array( array(
'title' => pht('Add Multi-Factor Authentication'), 'title' => pht('Add Multi-Factor Authentication'),
'device' => true,
)); ));
} }

View file

@ -456,7 +456,6 @@ final class PhabricatorAuthRegisterController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -152,7 +152,6 @@ final class PhabricatorAuthStartController
), ),
array( array(
'title' => pht('Login to Phabricator'), 'title' => pht('Login to Phabricator'),
'device' => true,
)); ));
} }

View file

@ -149,7 +149,6 @@ EOBODY;
), ),
array( array(
'title' => pht('Forgot Password'), 'title' => pht('Forgot Password'),
'device' => true,
)); ));
} }

View file

@ -91,7 +91,6 @@ final class PhabricatorEmailVerificationController
), ),
array( array(
'title' => pht('Verify Email'), 'title' => pht('Verify Email'),
'device' => true,
)); ));
} }

View file

@ -61,7 +61,6 @@ final class PhabricatorMustVerifyEmailController
), ),
array( array(
'title' => pht('Must Verify Email'), 'title' => pht('Must Verify Email'),
'device' => true
)); ));
} }

View file

@ -335,7 +335,6 @@ final class PhabricatorAuthEditController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -129,7 +129,6 @@ final class PhabricatorAuthListController
), ),
array( array(
'title' => pht('Authentication Providers'), 'title' => pht('Authentication Providers'),
'device' => true,
)); ));
} }

View file

@ -92,7 +92,6 @@ final class PhabricatorAuthNewController
), ),
array( array(
'title' => pht('Add Authentication Provider'), 'title' => pht('Add Authentication Provider'),
'device' => true,
)); ));
} }

View file

@ -92,7 +92,6 @@ final class PhabricatorCalendarBrowseController
$nav, $nav,
array( array(
'title' => pht('Calendar'), 'title' => pht('Calendar'),
'device' => true,
)); ));
} }

View file

@ -190,7 +190,6 @@ final class PhabricatorCalendarEventEditController
$nav, $nav,
array( array(
'title' => $page_title, 'title' => $page_title,
'device' => true
)); ));
} }

View file

@ -45,7 +45,6 @@ final class PhabricatorCalendarEventViewController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -73,7 +73,6 @@ final class PhabricatorCalendarViewController
$nav, $nav,
array( array(
'title' => pht('Calendar'), 'title' => pht('Calendar'),
'device' => true,
)); ));
} }

View file

@ -36,7 +36,6 @@ final class PhabricatorChatLogChannelListController
), ),
array( array(
'title' => pht('Channel List'), 'title' => pht('Channel List'),
'device' => true,
)); ));
} }
} }

View file

@ -260,7 +260,6 @@ final class PhabricatorChatLogChannelLogController
), ),
array( array(
'title' => pht('Channel Log'), 'title' => pht('Channel Log'),
'device' => true,
)); ));
} }

View file

@ -379,7 +379,6 @@ final class PhabricatorConduitAPIController
), ),
array( array(
'title' => 'Method Call Result', 'title' => 'Method Call Result',
'device' => true,
)); ));
} }

View file

@ -136,7 +136,6 @@ final class PhabricatorConduitConsoleController
), ),
array( array(
'title' => $method->getAPIMethodName(), 'title' => $method->getAPIMethodName(),
'device' => true,
)); ));
} }

View file

@ -50,7 +50,6 @@ final class PhabricatorConduitLogController
), ),
array( array(
'title' => 'Conduit Logs', 'title' => 'Conduit Logs',
'device' => true,
)); ));
} }

View file

@ -70,7 +70,6 @@ final class PhabricatorConduitTokenController
), ),
array( array(
'title' => pht('Certificate Install Token'), 'title' => pht('Certificate Install Token'),
'device' => true,
)); ));
} }
} }

View file

@ -94,7 +94,6 @@ final class PhabricatorConfigAllController
$nav, $nav,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -234,7 +234,6 @@ final class PhabricatorConfigEditController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -39,7 +39,6 @@ final class PhabricatorConfigGroupController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -38,7 +38,6 @@ final class PhabricatorConfigIssueListController
$nav, $nav,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -48,7 +48,6 @@ final class PhabricatorConfigIssueViewController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -27,7 +27,6 @@ final class PhabricatorConfigListController
$nav, $nav,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -23,7 +23,6 @@ final class PhabricatorConfigWelcomeController
$nav, $nav,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -166,7 +166,6 @@ final class ConpherenceListController
$layout, $layout,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
break; break;
} }

View file

@ -96,7 +96,6 @@ final class ConpherenceViewController extends
$layout, $layout,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
'pageObjects' => array($conpherence->getPHID()), 'pageObjects' => array($conpherence->getPHID()),
)); ));
} }

View file

@ -125,7 +125,6 @@ final class PhabricatorCountdownEditController
), ),
array( array(
'title' => $page_title, 'title' => $page_title,
'device' => true,
)); ));
} }
} }

View file

@ -60,7 +60,6 @@ final class PhabricatorCountdownViewController
$content, $content,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -32,7 +32,6 @@ final class PhabricatorDaemonLogListController
$nav, $nav,
array( array(
'title' => pht('All Daemons'), 'title' => pht('All Daemons'),
'device' => true,
)); ));
} }

View file

@ -71,7 +71,6 @@ final class PhabricatorWorkerTaskDetailController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -171,7 +171,6 @@ final class PhabricatorDashboardEditController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -44,7 +44,6 @@ final class PhabricatorDashboardHistoryController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -75,7 +75,6 @@ final class PhabricatorDashboardManageController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -277,7 +277,6 @@ final class PhabricatorDashboardPanelEditController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }
@ -356,7 +355,6 @@ final class PhabricatorDashboardPanelEditController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -65,7 +65,6 @@ final class PhabricatorDashboardPanelRenderController
), ),
array( array(
'title' => array(pht('Panel'), $panel->getName()), 'title' => array(pht('Panel'), $panel->getName()),
'device' => true,
)); ));
} }

View file

@ -59,7 +59,6 @@ final class PhabricatorDashboardPanelViewController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -42,7 +42,6 @@ final class PhabricatorDashboardViewController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -96,7 +96,6 @@ final class DifferentialDiffCreateController extends DifferentialController {
), ),
array( array(
'title' => pht('Create Diff'), 'title' => pht('Create Diff'),
'device' => true,
)); ));
} }

View file

@ -142,7 +142,6 @@ final class DifferentialDiffViewController extends DifferentialController {
), ),
array( array(
'title' => pht('Diff View'), 'title' => pht('Diff View'),
'device' => true,
)); ));
} }

View file

@ -177,7 +177,6 @@ final class DifferentialRevisionEditController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -471,7 +471,6 @@ final class DifferentialRevisionViewController extends DifferentialController {
array( array(
'title' => $object_id.' '.$revision->getTitle(), 'title' => $object_id.' '.$revision->getTitle(),
'pageObjects' => array($revision->getPHID()), 'pageObjects' => array($revision->getPHID()),
'device' => true,
)); ));
} }

View file

@ -97,7 +97,6 @@ final class DiffusionBrowseDirectoryController
$content, $content,
), ),
array( array(
'device' => true,
'title' => array( 'title' => array(
nonempty(basename($drequest->getPath()), '/'), nonempty(basename($drequest->getPath()), '/'),
$drequest->getRepository()->getCallsign().' Repository', $drequest->getRepository()->getCallsign().' Repository',

View file

@ -31,7 +31,6 @@ final class DiffusionBrowseSearchController extends DiffusionBrowseController {
$content, $content,
), ),
array( array(
'device' => true,
'title' => array( 'title' => array(
nonempty(basename($drequest->getPath()), '/'), nonempty(basename($drequest->getPath()), '/'),
$drequest->getRepository()->getCallsign().' Repository', $drequest->getRepository()->getCallsign().' Repository',

View file

@ -91,7 +91,6 @@ final class DiffusionCommitEditController extends DiffusionController {
), ),
array( array(
'title' => $page_title, 'title' => $page_title,
'device' => true,
)); ));
} }

View file

@ -136,7 +136,6 @@ final class DiffusionExternalController extends DiffusionController {
$content, $content,
array( array(
'title' => pht('Unresolvable External'), 'title' => pht('Unresolvable External'),
'device' => true,
)); ));
} }

View file

@ -90,7 +90,6 @@ final class DiffusionHistoryController extends DiffusionController {
$content, $content,
), ),
array( array(
'device' => true,
'title' => array( 'title' => array(
pht('History'), pht('History'),
pht('%s Repository', $drequest->getRepository()->getCallsign()), pht('%s Repository', $drequest->getRepository()->getCallsign()),

View file

@ -86,7 +86,6 @@ final class DiffusionLintDetailsController extends DiffusionController {
$content, $content,
), ),
array( array(
'device' => true,
'title' => 'title' =>
array( array(
pht('Lint'), pht('Lint'),

View file

@ -72,7 +72,6 @@ final class DiffusionPushEventViewController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -137,7 +137,6 @@ final class DiffusionRepositoryController extends DiffusionController {
$content, $content,
array( array(
'title' => $drequest->getRepository()->getName(), 'title' => $drequest->getRepository()->getName(),
'device' => true,
)); ));
} }

View file

@ -224,7 +224,6 @@ final class DiffusionRepositoryCreateController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -118,7 +118,6 @@ final class DiffusionRepositoryEditActionsController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -147,7 +147,6 @@ final class DiffusionRepositoryEditBasicController
$object_box), $object_box),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -153,7 +153,6 @@ final class DiffusionRepositoryEditBranchesController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -87,7 +87,6 @@ final class DiffusionRepositoryEditEncodingController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -119,7 +119,6 @@ final class DiffusionRepositoryEditHostingController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }
@ -284,7 +283,6 @@ final class DiffusionRepositoryEditHostingController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -63,7 +63,6 @@ final class DiffusionRepositoryEditLocalController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -191,7 +191,6 @@ final class DiffusionRepositoryEditMainController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -116,7 +116,6 @@ final class DiffusionRepositoryEditSubversionController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -80,7 +80,6 @@ final class DiffusionRepositoryNewController
), ),
array( array(
'title' => pht('New Repository'), 'title' => pht('New Repository'),
'device' => true,
)); ));
} }

View file

@ -148,7 +148,6 @@ final class DiffusionSymbolController extends DiffusionController {
), ),
array( array(
'title' => pht('Find Symbol'), 'title' => pht('Find Symbol'),
'device' => true,
)); ));
} }

View file

@ -248,7 +248,6 @@ final class DivinerAtomController extends DivinerController {
), ),
array( array(
'title' => $symbol->getTitle(), 'title' => $symbol->getTitle(),
'device' => true,
)); ));
} }

View file

@ -95,7 +95,6 @@ final class DivinerBookController extends DivinerController {
), ),
array( array(
'title' => $book->getTitle(), 'title' => $book->getTitle(),
'device' => true,
)); ));
} }

View file

@ -85,7 +85,6 @@ final class DivinerFindController extends DivinerController {
$list, $list,
array( array(
'title' => array(pht('Find'), pht('"%s"', $query_text)), 'title' => array(pht('Find'), pht('"%s"', $query_text)),
'device' => true,
)); ));
} }

View file

@ -86,7 +86,6 @@ final class DivinerMainController extends DivinerController {
), ),
array( array(
'title' => pht('Documentation Books'), 'title' => pht('Documentation Books'),
'device' => true,
'fonts' => true, 'fonts' => true,
)); ));
} }

View file

@ -74,7 +74,6 @@ final class DrydockBlueprintCreateController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -149,7 +149,6 @@ final class DrydockBlueprintEditController extends DrydockBlueprintController {
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -78,7 +78,6 @@ final class DrydockBlueprintViewController extends DrydockBlueprintController {
$timeline, $timeline,
), ),
array( array(
'device' => true,
'title' => $title, 'title' => $title,
)); ));

View file

@ -73,7 +73,6 @@ final class DrydockConsoleController extends DrydockController {
), ),
array( array(
'title' => pht('Drydock Console'), 'title' => pht('Drydock Console'),
'device' => true,
)); ));
} }

View file

@ -60,7 +60,6 @@ final class DrydockLeaseViewController extends DrydockLeaseController {
$log_table, $log_table,
), ),
array( array(
'device' => true,
'title' => $title, 'title' => $title,
)); ));

View file

@ -73,7 +73,6 @@ final class DrydockResourceViewController extends DrydockResourceController {
$log_table, $log_table,
), ),
array( array(
'device' => true,
'title' => $title, 'title' => $title,
)); ));

View file

@ -44,7 +44,6 @@ final class PhabricatorFeedDetailController extends PhabricatorFeedController {
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -66,7 +66,6 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
), ),
array( array(
'title' => $file->getName(), 'title' => $file->getName(),
'device' => true,
'pageObjects' => array($file->getPHID()), 'pageObjects' => array($file->getPHID()),
)); ));
} }

View file

@ -81,7 +81,6 @@ final class PhabricatorFileUploadController extends PhabricatorFileController {
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -121,7 +121,6 @@ final class HarbormasterBuildViewController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -70,7 +70,6 @@ final class HarbormasterBuildableViewController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -109,7 +109,6 @@ final class HarbormasterPlanEditController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -70,7 +70,6 @@ final class HarbormasterPlanViewController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -154,7 +154,6 @@ final class HarbormasterStepEditController
), ),
array( array(
'title' => $implementation->getName(), 'title' => $implementation->getName(),
'device' => true,
)); ));
} }

View file

@ -214,7 +214,6 @@ final class HeraldNewController extends HeraldController {
), ),
array( array(
'title' => pht('Create Herald Rule'), 'title' => pht('Create Herald Rule'),
'device' => true,
)); ));
} }

View file

@ -239,7 +239,6 @@ final class HeraldRuleController extends HeraldController {
), ),
array( array(
'title' => pht('Edit Rule'), 'title' => pht('Edit Rule'),
'device' => true,
)); ));
} }

View file

@ -50,7 +50,6 @@ final class HeraldRuleEditHistoryController extends HeraldController {
$nav, $nav,
array( array(
'title' => pht('Rule Edit History'), 'title' => pht('Rule Edit History'),
'device' => true,
)); ));
} }

View file

@ -61,7 +61,6 @@ final class HeraldRuleViewController extends HeraldController {
), ),
array( array(
'title' => $rule->getName(), 'title' => $rule->getName(),
'device' => true,
)); ));
} }

View file

@ -108,7 +108,6 @@ final class HeraldTestConsoleController extends HeraldController {
$nav, $nav,
array( array(
'title' => pht('Test Console'), 'title' => pht('Test Console'),
'device' => true,
)); ));
} }

View file

@ -110,7 +110,6 @@ final class HeraldTranscriptController extends HeraldController {
$nav, $nav,
array( array(
'title' => pht('Transcript'), 'title' => pht('Transcript'),
'device' => true,
)); ));
} }

View file

@ -57,7 +57,6 @@ final class PhabricatorHomeMainController
$content, $content,
array( array(
'title' => 'Phabricator', 'title' => 'Phabricator',
'device' => true,
)); ));
} }

View file

@ -29,7 +29,6 @@ final class PhabricatorHomeQuickCreateController
), ),
array( array(
'title' => pht('Quick Create'), 'title' => pht('Quick Create'),
'device' => true,
)); ));
} }

View file

@ -191,7 +191,6 @@ final class LegalpadDocumentEditController extends LegalpadController {
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -194,7 +194,6 @@ final class LegalpadDocumentSignController extends LegalpadController {
$content, $content,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
'pageObjects' => array($document->getPHID()), 'pageObjects' => array($document->getPHID()),
)); ));
} }

View file

@ -47,7 +47,6 @@ final class LegalpadDocumentSignatureListController extends LegalpadController {
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }

View file

@ -87,7 +87,6 @@ extends LegalpadController {
), ),
array( array(
'title' => pht('Verify Signature'), 'title' => pht('Verify Signature'),
'device' => true,
)); ));
} }

View file

@ -101,7 +101,6 @@ final class LegalpadDocumentViewController extends LegalpadController {
$content, $content,
array( array(
'title' => $title, 'title' => $title,
'device' => true,
'pageObjects' => array($document->getPHID()), 'pageObjects' => array($document->getPHID()),
)); ));
} }

View file

@ -155,7 +155,6 @@ final class PhabricatorMacroAudioController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }
} }

View file

@ -260,7 +260,6 @@ final class PhabricatorMacroEditController
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => true,
)); ));
} }
} }

Some files were not shown because too many files have changed in this diff Show more