inc.php
/* Update a refresh token of api.php */
Update a refresh token of api.php
Update a refresh token of api . php
function updaterefreshtoken($name,$type,$token)
    {
        global $db;
        $db->execwf('BEGIN EXCLUSIVE TRANSACTION');
        $db->execwf("UPDATE CONFIG SET VALUE='{$db->escapeString($token)}' WHERE NAME='{$db->escapeString($name)}' AND TYPE='{$db->escapeString($type)}_refresh_token'");
        $db->execwf('END TRANSACTION');
    }
function updaterefreshtoken ( $ name , $ type , $ token ) { global $ db ; $ db -> execwf ( 'BEGIN EXCLUSIVE TRANSACTION' ) ; $ db -> execwf ( " UPDATE CONFIG SET VALUE=' { $ db -> escapeString ( $ token ) } ' WHERE NAME=' { $ db -> escapeString ( $ name ) } ' AND TYPE=' { $ db -> escapeString ( $ type ) } _refresh_token' " ) ; $ db -> execwf ( 'END TRANSACTION' ) ; }
Update a refresh token of api.php
Update a refresh token of api . php