You are here

static function LingotekOAuthRequestLogger::setUser in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lib/oauth-php/library/LingotekOAuthRequestLogger.php \LingotekOAuthRequestLogger::setUser()
  2. 7.4 lib/oauth-php/library/LingotekOAuthRequestLogger.php \LingotekOAuthRequestLogger::setUser()
  3. 7.6 lib/oauth-php/library/LingotekOAuthRequestLogger.php \LingotekOAuthRequestLogger::setUser()

* Set the relevant user (defaults to the current user) * *

Parameters

int user_id:

File

lib/oauth-php/library/LingotekOAuthRequestLogger.php, line 234

Class

LingotekOAuthRequestLogger
Log OAuth requests

Code

static function setUser($user_id) {
  LingotekOAuthRequestLogger::$user_id = $user_id;
}