diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-08-11 12:55:19 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-08-11 14:49:30 +0200 |
commit | f71d39467f353ae5f67984c0809bbda5ff7968b0 (patch) | |
tree | 7d3bc34112ea3e10d413db3b662f66e762e3d914 /application/helpers/filebin_helper.php | |
parent | a147f1c43beb242af3d54f07ca32e88c5ffc5d8e (diff) |
Remove api keys dependency on username
We don't need it and getting the user name from the user drivers is way
more complicated.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/helpers/filebin_helper.php')
-rw-r--r-- | application/helpers/filebin_helper.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/application/helpers/filebin_helper.php b/application/helpers/filebin_helper.php index 88bb290c4..4af106a14 100644 --- a/application/helpers/filebin_helper.php +++ b/application/helpers/filebin_helper.php @@ -323,6 +323,12 @@ function auth_driver_function_implemented($function) return $result[$function]; } +function user_logged_in() +{ + $CI =& get_instance(); + return $CI->muser->logged_in(); +} + function send_json_reply($array) { $CI =& get_instance(); |