Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95932804
20151023.harborpolicy.2.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
Fri, Dec 20, 20:01
Size
522 B
Mime Type
text/x-php
Expires
Sun, Dec 22, 20:01 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
23081342
Attached To
rPH Phabricator
20151023.harborpolicy.2.php
View Options
<?php
$table
=
new
HarbormasterBuildPlan
();
$conn_w
=
$table
->
establishConnection
(
'w'
);
$view_policy
=
PhabricatorPolicies
::
getMostOpenPolicy
();
queryfx
(
$conn_w
,
'UPDATE %T SET viewPolicy = %s WHERE viewPolicy = %s'
,
$table
->
getTableName
(),
$view_policy
,
''
);
$edit_policy
=
id
(
new
PhabricatorHarbormasterApplication
())
->
getPolicy
(
HarbormasterCreatePlansCapability
::
CAPABILITY
);
queryfx
(
$conn_w
,
'UPDATE %T SET editPolicy = %s WHERE editPolicy = %s'
,
$table
->
getTableName
(),
$edit_policy
,
''
);
Event Timeline
Log In to Comment