Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2332615
PhabricatorApplicationAuth.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
725 B
Referenced Files
None
Subscribers
None
PhabricatorApplicationAuth.php
View Options
<?php
final
class
PhabricatorApplicationAuth
extends
PhabricatorApplication
{
public
function
shouldAppearInLaunchView
()
{
return
false
;
}
public
function
canUninstall
()
{
return
false
;
}
public
function
buildMainMenuItems
(
PhabricatorUser
$user
,
PhabricatorController
$controller
=
null
)
{
$items
=
array
();
if
(
$user
->
isLoggedIn
())
{
$item
=
new
PhabricatorMenuItemView
();
$item
->
setName
(
pht
(
'Log Out'
));
$item
->
setIcon
(
'power'
);
$item
->
setWorkflow
(
true
);
$item
->
setHref
(
'/logout/'
);
$item
->
setSortOrder
(
2.0
);
$item
->
setSelected
((
$controller
instanceof
PhabricatorLogoutController
));
$items
[]
=
$item
;
}
return
$items
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Sep 16, 7:49 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
443860
Default Alt Text
PhabricatorApplicationAuth.php (725 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment