Ability to archive Phame Posts
Summary: Ref T9897. Adds ability to Archive a Phame Post (only visible under ApplicationSearch). Test Plan: Archive a post, re-publish it, search for it, archive it again. View Home, Blog, Live pages. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T9897 Differential Revision: https://secure.phabricator.com/D16104
This commit is contained in:
@@ -97,7 +97,8 @@ abstract class PhameLiveController extends PhameController {
|
||||
|
||||
// Only show published posts on external domains.
|
||||
if ($is_external) {
|
||||
$post_query->withVisibility(PhameConstants::VISIBILITY_PUBLISHED);
|
||||
$post_query->withVisibility(
|
||||
array(PhameConstants::VISIBILITY_PUBLISHED));
|
||||
}
|
||||
|
||||
$post = $post_query->executeOne();
|
||||
|
||||
Reference in New Issue
Block a user