From 9d8d909c18c486253ddfed8fe29aa3ad0d1a1cae Mon Sep 17 00:00:00 2001 From: Richard Underwood Date: Wed, 24 Aug 2016 14:38:03 +0100 Subject: [PATCH] Remove jtable_respond from the CLI script. --- rotate-logs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rotate-logs.php b/rotate-logs.php index 3ce3793..233136a 100644 --- a/rotate-logs.php +++ b/rotate-logs.php @@ -11,6 +11,6 @@ if(php_sapi_name() !== 'cli') { $current_user['username']=''; rotatelogs(); } else { - jtable_respond(null, 'error', 'Invalid action'); + echo "Rotating logs has been disabled." } }