CVS update: /cowiki/includes/cowiki/plugin/
[email protected] 12 Apr 2005 19:12:21 -0000
| Newsgroups | gmane.comp.php.cowiki.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dgorski Date: 05/04/12 12:12:21 Modified: /cowiki/includes/cowiki/plugin/ class.PrivateAdminMenuDefaultDisplay.php Log: Enhance check if we are able to edit users defined by the AuthDAO (mysql[i][+innodb] schemas) File Changes: Directory: /cowiki/includes/cowiki/plugin/ ========================================== File [changed]: class.PrivateAdminMenuDefaultDisplay.php Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/plugin/class.PrivateAdminMenuDefaultDisplay.php?r1=1.11&r2=1.12 Delta lines: +5 -3 ------------------- --- class.PrivateAdminMenuDefaultDisplay.php 16 Jan 2005 23:32:09 -0000 1.11 +++ class.PrivateAdminMenuDefaultDisplay.php 12 Apr 2005 19:12:21 -0000 1.12 @@ -2,7 +2,7 @@ /** * - * $Id: class.PrivateAdminMenuDefaultDisplay.php,v 1.11 2005/01/16 23:32:09 dgorski Exp $ + * $Id: class.PrivateAdminMenuDefaultDisplay.php,v 1.12 2005/04/12 19:12:21 dgorski Exp $ * * This file is part of coWiki. coWiki is free software under the terms of * the GNU General Public License (GPL). Read the LICENSE file. If you did @@ -31,7 +31,7 @@ * @author Daniel T. Gorski, <[email protected]> * @copyright (C) Daniel T. Gorski, {@link http://www.develnet.org} * @license http://www.gnu.org/licenses/gpl.html - * @version $Revision: 1.11 $ + * @version $Revision: 1.12 $ * */ @@ -90,7 +90,9 @@ // Check if we are able to edit users defined by the AuthDAO $bCanEditMySqlUser = false; - if (in_array($UriInfo->get('scheme'), array('mysql'))) { + $aSchema = array('mysql', 'mysql+innodb', 'mysqli', 'mysqli+innodb'); + + if (in_array($UriInfo->get('scheme'), $aSchema)) { // FIX: better check $bCanEditMySqlUser = true;