mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 10:19:25 +02:00
Resolve #401 new database update, reset album thumbs and use resized art...
This commit is contained in:
parent
c9ccb05a40
commit
e474991d13
14 changed files with 94 additions and 38 deletions
|
@ -107,12 +107,14 @@ class vauth {
|
|||
|
||||
/**
|
||||
* destroy
|
||||
* This removes the specified sessoin from the database
|
||||
* This removes the specified session from the database
|
||||
*/
|
||||
public static function destroy($key) {
|
||||
|
||||
$key = Dba::escape($key);
|
||||
|
||||
if (!strlen($key)) { return false; }
|
||||
|
||||
// Remove anything and EVERYTHING
|
||||
$sql = "DELETE FROM `session` WHERE `id`='$key'";
|
||||
$db_results = Dba::query($sql);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue