forked from science-ation/science-ation
Remove uneeded function
This commit is contained in:
parent
b1f2718a3c
commit
5338adefa9
@ -1,14 +1,5 @@
|
||||
<?
|
||||
|
||||
function committee_auth_has_access($access="") {
|
||||
switch($access) {
|
||||
case 'config': return ($_SESSION['access_config'] == 'yes') ? true : false;
|
||||
case 'admin': return ($_SESSION['access_admin'] == 'yes') ? true : false;
|
||||
case 'super': return ($_SESSION['access_super'] == 'yes') ? true : false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function committee_status_update(&$u)
|
||||
{
|
||||
global $config;
|
||||
|
Loading…
Reference in New Issue
Block a user