Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110624443
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
Sun, Apr 27, 05:21
Size
522 B
Mime Type
text/x-php
Expires
Tue, Apr 29, 05:21 (1 d, 23 h)
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