remove orphaned functions

the functions are unused since f4efaad.
This commit is contained in:
Mathias Kresin 2015-01-03 23:01:09 +01:00
parent b4a1d7782c
commit e349921322

View File

@ -240,28 +240,6 @@ function new_tokens()
return Database::get('db')->table('config')->update($values);
}
// Save tokens for external authentication
function save_auth_token($type, $value)
{
return Database::get('db')
->table('config')
->update(array(
'auth_'.$type.'_token' => $value
));
}
// Clear authentication tokens
function remove_auth_token($type)
{
Database::get('db')
->table('config')
->update(array(
'auth_'.$type.'_token' => ''
));
$_SESSION['config'] = get_all();
}
// Get a config value from the DB or from the session
function get($name)
{