MantisBT: master 1f678c2a

Author Committer Branch Timestamp Parent
dregad dregad master 2016-06-10 14:26 master 17c05b5d
Affected Issues  0020472: New 'api_token' table columns are not defined in standard way
Changeset

New api_token_is_used() function

Move the logic to determine whether a token has been used from
api_tokens_page.php to the api_tokens API where it belongs.

The check against date_used has been changed from '=== 0' to '<= 1' to
reflect the change in schema definition in step 206.

Fixes 0020472

mod - api_tokens_page.php Diff File
mod - core/api_token_api.php Diff File