]> git.defcon.no Git - hermes/commitdiff
Testing uncovered bug, duplicate function name.
authorJon Langseth <jon.langseth@lilug.no>
Fri, 20 Jan 2012 23:06:37 +0000 (00:06 +0100)
committerJon Langseth <jon.langseth@lilug.no>
Fri, 20 Jan 2012 23:06:37 +0000 (00:06 +0100)
api/auth.php
api/lib/auth_base.php

index 336c6c34fa7fc1d074e3ce5149a5afd761bf1e1e..9fcd6e2fbf32758ae1a6f86f94d4323fdbd5f3cf 100644 (file)
@@ -254,7 +254,7 @@ else
                        // but should only return users with authorization.
                        if ( ! can_write() )
                                simple_authfail();
-                       $list = list_users();
+                       $list = list_authusers();
                        print json_encode( array( 'response' => 'ok', 'list' => $list ) );
                        break;
 
index a2ce62c36bd0715c6fedcbc83aa2705e8271354d..bb3c26fa411e8931be33454f140ea6f0313d66d6 100644 (file)
@@ -320,7 +320,7 @@ function list_apikeys ()
 
 }
 
-function list_users ()
+function list_authusers ()
 {
        global $config;
        $query = sprintf("SELECT authid, access_level