Removed spaces
This commit is contained in:
parent
8506d6d27e
commit
3de0cc840f
|
@ -486,8 +486,7 @@ function User_by_password_recovery_token($token)
|
|||
function User_reset_api_key(&$user, $log = true)
|
||||
{
|
||||
$user['api_key'] = md5($user['Nick'] . time() . rand());
|
||||
DB::update(
|
||||
'
|
||||
DB::update('
|
||||
UPDATE `User`
|
||||
SET `api_key`=?
|
||||
WHERE `UID`=?
|
||||
|
|
|
@ -53,8 +53,7 @@ function admin_active()
|
|||
}
|
||||
if (isset($_REQUEST['ack'])) {
|
||||
DB::update('UPDATE `User` SET `Aktiv` = 0 WHERE `Tshirt` = 0');
|
||||
$users = DB::select(sprintf(
|
||||
'
|
||||
$users = DB::select(sprintf('
|
||||
SELECT
|
||||
`User`.*,
|
||||
COUNT(`ShiftEntry`.`id`) AS `shift_count`,
|
||||
|
|
|
@ -116,8 +116,7 @@ function admin_questions()
|
|||
));
|
||||
|
||||
if ($answer != '') {
|
||||
DB::update(
|
||||
'
|
||||
DB::update('
|
||||
UPDATE `Questions`
|
||||
SET `AID`=?, `Answer`=?
|
||||
WHERE `QID`=?
|
||||
|
|
Loading…
Reference in New Issue