phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [18988] Make the warn delete exesting users if there'


From: Caeies
Subject: [Phpgroupware-cvs] [18988] Make the warn delete exesting users if there' s already somes in the db
Date: Wed, 19 Nov 2008 17:49:01 +0000

Revision: 18988
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18988
Author:   Caeies
Date:     2008-11-19 17:49:01 +0000 (Wed, 19 Nov 2008)

Log Message:
-----------
Make the warn delete exesting users if there's already somes in the db

Modified Paths:
--------------
    core/trunk/setup/accounts.php

Modified: core/trunk/setup/accounts.php
===================================================================
--- core/trunk/setup/accounts.php       2008-11-10 01:29:39 UTC (rev 18987)
+++ core/trunk/setup/accounts.php       2008-11-19 17:49:01 UTC (rev 18988)
@@ -317,7 +317,7 @@
                $db->query('SELECT COUNT(*) AS cnt FROM phpgw_accounts', 
__LINE__, __FILE__);
                $db->next_record();
                $number_of_accounts = $db->f('cnt');
-               if ( !$number_of_accounts )
+               if ( $number_of_accounts )
                {
                        $account_creation_notice .= "\n" 
                                . lang('<b>!!!THIS WILL DELETE ALL EXISTING 
ACCOUNTS!!!</b><br>');






reply via email to

[Prev in Thread] Current Thread [Next in Thread]