Method to check if a user has been locked. This is so an admin can lock a user immediately if necessary.
Class: bb_build, called as $main
File: bb_build.php (php)
function locked($con, $username, $userrole)
$main->locked($con, $username, $userrole)
$con (database connector)
The database connection.
The username to access the database row for the current user.
The userrole to check whether the user still has permission.