cvs: pearweb /include pear-database.php

From: Date: Fri, 03 Sep 2004 13:47:35 +0000
Subject: cvs: pearweb /include pear-database.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-23599@lists.php.net to get a copy of this message
dufuz Fri Sep 3 09:47:35 2004 EDT Modified files: /pearweb/include pear-database.php Log: patch by Klaus http://cvs.php.net/diff.php/pearweb/include/pear-database.php?r1=1.236&r2=1.237&ty=u Index: pearweb/include/pear-database.php diff -u pearweb/include/pear-database.php:1.236 pearweb/include/pear-database.php:1.237 --- pearweb/include/pear-database.php:1.236 Thu Sep 2 16:50:05 2004 +++ pearweb/include/pear-database.php Fri Sep 3 09:47:34 2004 @@ -17,7 +17,7 @@ | Tomas V.V.Cox <cox@php.net> | | Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: pear-database.php,v 1.236 2004/09/02 20:50:05 mj Exp $ + $Id: pear-database.php,v 1.237 2004/09/03 13:47:34 dufuz Exp $ */ require_once 'DB/storage.php'; @@ -1097,7 +1097,7 @@ $old_users = array_keys($old); $new_users = array_keys($users); - if (!$admin && !in_array($auth_user->handle, $new_users)) { + if (!$admin && !$qa && !in_array($auth_user->handle, $new_users)) { return PEAR::raiseError("You can not delete your own maintainer role or you will not ". "be able to complete the update process. Set your name ". "in package.xml or let the new lead developer upload ".

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