From 71acafdcfcbf0f06feeacb2aa50939770703bcd1 Mon Sep 17 00:00:00 2001 From: sagarnasit Date: Tue, 18 Dec 2018 15:34:55 +0530 Subject: [PATCH] Fix admin tools error message --- src/Admin_Tools_Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Admin_Tools_Command.php b/src/Admin_Tools_Command.php index 61de53c..3e2f10a 100644 --- a/src/Admin_Tools_Command.php +++ b/src/Admin_Tools_Command.php @@ -118,7 +118,7 @@ public function enable( $args, $assoc_args ) { $min_req_services = [ 'nginx', 'php' ]; if ( count( array_intersect( $services, $min_req_services ) ) !== count( $min_req_services ) ) { - 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 ) ); + EE::error( sprintf( 'Site of type %s does not support admin-tools.', $this->site_data->site_type ) ); } $this->install();