Ignore:
Timestamp:
Nov 29, 2006 1:25:59 AM (17 years ago)
Author:
scdev
Message:

Q - bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Auth_File.inc.php

    r158 r209  
    307307    }
    308308   
     309    /**
     310     * Wrapper function for compatability with lib/Lock.inc.php.
     311     *
     312     * @param  string  $username    Username to return.
     313     * @return string               Username, or false if none found.
     314     */
     315    function getUsername($username)
     316    {
     317        if ('' != $username) {
     318            return $username;
     319        } else {
     320            return false;
     321        }
     322    }
     323
    309324    /*
    310325    * Reads the configured htpasswd file into the _users array.
Note: See TracChangeset for help on using the changeset viewer.