Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95962526
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
Sat, Dec 21, 03:17
Size
522 B
Mime Type
text/x-php
Expires
Mon, Dec 23, 03:17 (2 d)
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