    public static function ridOld($tokens) {
        $time = time();
        foreach ($tokens as $token => $value) {
            if ($time - $value['time'] > 3600) {
                unset($tokens[$token]);
            }
        }
        return $tokens;
    }
