Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110296243
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, Apr 25, 14:28
Size
522 B
Mime Type
text/x-php
Expires
Sun, Apr 27, 14:28 (2 d)
Engine
blob
Format
Raw Data
Handle
25784570
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