Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82446245
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
Wed, Sep 11, 11:26
Size
522 B
Mime Type
text/x-php
Expires
Fri, Sep 13, 11:26 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20699826
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