diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-09-21 18:03:09 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-09-21 18:11:50 +0200 |
commit | d8978f969093cc1d244a4a293d8135f0a4029109 (patch) | |
tree | ec4d7620b6c18d4efe8b3d897b5b823d201212f6 /application/controllers/User.php | |
parent | 92409440c400f7364c77d8bddc2c4f7ffcf3334e (diff) |
Remove usage of deprecated is_cli_request()
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/User.php')
-rw-r--r-- | application/controllers/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/User.php b/application/controllers/User.php index 01e310a8f..892bbe1b6 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -16,7 +16,7 @@ class User extends MY_Controller { function index() { - if ($this->input->is_cli_request()) { + if (is_cli()) { $this->load->library("../controllers/tools"); return $this->tools->index(); } |