Skip to content

Commit

Permalink
Rename invalid action "logout" to "logoff" (fixes #17)
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Sep 2, 2014
1 parent c90be75 commit f8cebb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public function login($username, $secret, $events = null)
return $this->request('Login', array('UserName' => $username, 'Secret' => $secret, 'Events' => $events));
}

public function logout()
public function logoff()
{
return $this->request('Logout');
return $this->request('Logoff');
}

public function agentLogoff($agentId, $soft = false)
Expand Down

0 comments on commit f8cebb5

Please sign in to comment.