Skip to content

Commit 7e0c3eb

Browse files
committed
Remove unused method
1 parent 9c937d3 commit 7e0c3eb

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

‎src/Package_Command.php‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -668,17 +668,6 @@ public function is_installed( $args, $assoc_args ) {
668668
WP_CLI::halt( $this->get_installed_package_by_name( $package_name ) ? 0 : 1 );
669669
}
670670

671-
/**
672-
* Checks whether a package is a WP-CLI community package based
673-
* on membership in our package index.
674-
*
675-
* @param object $package A package object
676-
* @return bool
677-
*/
678-
private function is_community_package( $package ) {
679-
return $this->package_index()->hasPackage( $package );
680-
}
681-
682671
/**
683672
* Gets a Composer instance.
684673
*/

0 commit comments

Comments
 (0)