public function setLastAuthType(AuthenticationType $at) { $app = Application::getFacadeApplication(); $db = $app['database']->connection(); $db->Execute('UPDATE Users SET uLastAuthTypeID=? WHERE uID=?', array($at->getAuthenticationTypeID(), $this->getUserID())); }
public function setLastAuthType(AuthenticationType $at) { $db = Loader::db(); $db->Execute('UPDATE Users SET uLastAuthTypeID=? WHERE uID=?', array($at->getAuthenticationTypeID(), $this->getUserID())); }
public function getAuthenticationTypeID() { return parent::getAuthenticationTypeID(); }