diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-09-18 12:14:27 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-09-18 12:14:27 +0200 |
commit | 6be5f77331a82d0154f1ed82b07b64917c2a102d (patch) | |
tree | 1acb182462f012a8e9307f9e641817a59d07771f /application/controllers/Tools.php | |
parent | ccca699ba61bad35afea2bb6f7881d301ad05709 (diff) |
Remove secondary controller for CLI usage output
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/Tools.php')
-rw-r--r-- | application/controllers/Tools.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/application/controllers/Tools.php b/application/controllers/Tools.php index 9e0ddfb5f..bb481db80 100644 --- a/application/controllers/Tools.php +++ b/application/controllers/Tools.php @@ -19,17 +19,7 @@ class Tools extends MY_Controller { function index() { - echo "php index.php <controller> <function> [arguments]\n"; - echo "\n"; - echo "Functions:\n"; - echo " file cron Cronjob\n"; - echo " file nuke_id <ID> Nukes all IDs sharing the same hash\n"; - echo " user cron Cronjob\n"; - echo " tools update_database Update/Initialise the database\n"; - echo "\n"; - echo "Functions that shouldn't have to be run:\n"; - echo " file clean_stale_files Remove files without database entries\n"; - echo " file update_file_metadata Update filesize and mimetype in database\n"; + output_cli_usage(); exit; } |