Permalink
Browse files

removing auth_helper.php duplicate file.

  • Loading branch information...
1 parent dd1b994 commit 64a3a80206a687217fa77c89236c3de4b51a898b @adamgriffiths committed Dec 5, 2011
Showing with 0 additions and 46 deletions.
  1. +0 −46 helpers/auth_helper.php
View
@@ -1,46 +0,0 @@
-<?php
-
-function logged_in()
-{
- $CI =& get_instance();
- if($CI->ag_auth->logged_in() == TRUE)
- {
- return TRUE;
- }
-
- return FALSE;
-}
-
-function username()
-{
- $CI =& get_instance();
- return $CI->session->userdata('username');
-}
-
-function user_group($group)
-{
- $CI =& get_instance();
-
- $system_group = $CI->ag_auth->config['auth_groups'][$group];
-
- if($system_group === $CI->session->userdata('group_id'))
- {
- return TRUE;
- }
-}
-
-function user_table()
-{
- $CI =& get_instance();
-
- return $CI->ag_auth->user_table;
-}
-
-function group_table()
-{
- $CI =& get_instance();
-
- return $CI->ag_auth->group_table;
-}
-
-?>

0 comments on commit 64a3a80

Please sign in to comment.