Skip to content

Commit f8cebb5

Browse files
committed
Rename invalid action "logout" to "logoff" (fixes #17)
1 parent c90be75 commit f8cebb5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ public function login($username, $secret, $events = null)
2323
return $this->request('Login', array('UserName' => $username, 'Secret' => $secret, 'Events' => $events));
2424
}
2525

26-
public function logout()
26+
public function logoff()
2727
{
28-
return $this->request('Logout');
28+
return $this->request('Logoff');
2929
}
3030

3131
public function agentLogoff($agentId, $soft = false)

0 commit comments

Comments
 (0)