application/actionlogout.php

File for the login action.

Implements an action function to be called from the {@see Controller}.

Functions

action()

action(resource  $db = null) : integer

Logs the user out and redirects to the login page.

Invalidates cookies and session variables.

Parameters

resource $db

Database connection.

Returns

integer —

0.