Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F114810884
PhabricatorApplicationAuth.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 27, 21:57
Size
693 B
Mime Type
text/x-php
Expires
Thu, May 29, 21:57 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26412233
Attached To
rPH Phabricator
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
->
setSelected
((
$controller
instanceof
PhabricatorLogoutController
));
$items
[]
=
$item
;
}
return
$items
;
}
}
Event Timeline
Log In to Comment