Skip to content

Commit 71acafd

Browse files
committed
Fix admin tools error message
1 parent 5617ab9 commit 71acafd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Admin_Tools_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function enable( $args, $assoc_args ) {
118118
$min_req_services = [ 'nginx', 'php' ];
119119

120120
if ( count( array_intersect( $services, $min_req_services ) ) !== count( $min_req_services ) ) {
121-
EE::error( sprintf( '%s site-type of %s-command does not support admin-tools.', $this->site_data->app_sub_type, $this->site_data->site_type ) );
121+
EE::error( sprintf( 'Site of type %s does not support admin-tools.', $this->site_data->site_type ) );
122122
}
123123

124124
$this->install();

0 commit comments

Comments
 (0)