cvs: pearweb /public_html export.php

From: Date: Sat, 29 Dec 2001 02:22:16 +0000
Subject: cvs: pearweb /public_html export.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1741@lists.php.net to get a copy of this message
ssb Fri Dec 28 21:22:16 2001 EDT Modified files: /pearweb/public_html export.php Log: * cvs_acl.handle was renamed to cvs_acl.username Index: pearweb/public_html/export.php diff -u pearweb/public_html/export.php:1.2 pearweb/public_html/export.php:1.3 --- pearweb/public_html/export.php:1.2 Fri Nov 16 04:20:04 2001 +++ pearweb/public_html/export.php Fri Dec 28 21:22:16 2001 @@ -8,7 +8,7 @@ if ($what == "avail") { print "unavail\n"; - $sth = $dbh->query("SELECT handle,path FROM cvs_acl"); + $sth = $dbh->query("SELECT username,path FROM cvs_acl"); while ($sth->fetchInto($row, DB_FETCHMODE_ORDERED) === DB_OK) { $acl_paths[$row[1]][$row[0]] = true; } @@ -27,7 +27,7 @@ print implode(":", $row) . ":cvs\n"; } } elseif ($what == "writers") { - $sth = $dbh->query("SELECT DISTINCT handle FROM cvs_acl WHERE access = 1"); + $sth = $dbh->query("SELECT DISTINCT username FROM cvs_acl WHERE access = 1"); while ($sth->fetchInto($row, DB_FETCHMODE_ORDERED)) { print "{$row[0]}\n"; }

« previous php.pear.cvs (#1741) next »