Remove jtable_respond from the CLI script.

This commit is contained in:
Richard Underwood 2016-08-24 14:38:03 +01:00
parent f081d96b0c
commit 9d8d909c18

View file

@ -11,6 +11,6 @@ if(php_sapi_name() !== 'cli') {
$current_user['username']='<system>';
rotatelogs();
} else {
jtable_respond(null, 'error', 'Invalid action');
echo "Rotating logs has been disabled."
}
}