phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: headlines/inc class.headlines.inc.php,1.3,1.4


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: headlines/inc class.headlines.inc.php,1.3,1.4
Date: Sun, 31 Mar 2002 10:56:31 -0500

Update of /cvsroot/phpgroupware/headlines/inc
In directory subversions:/tmp/cvs-serv14310/inc

Modified Files:
        class.headlines.inc.php 
Log Message:
Add some langs; enable dropping all sites before loading new ones via admin



Index: class.headlines.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/inc/class.headlines.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.headlines.inc.php     31 Mar 2002 13:28:53 -0000      1.3
--- class.headlines.inc.php     31 Mar 2002 15:56:28 -0000      1.4
***************
*** 167,171 ****
  
                // get a list of the sites
!               function getList()
                {
                        @set_time_limit(0);
--- 167,171 ----
  
                // get a list of the sites
!               function getList($dropall=False)
                {
                        @set_time_limit(0);
***************
*** 222,225 ****
--- 222,230 ----
  
                        $GLOBALS['phpgw']->db->transaction_begin();
+                       if($dropall)
+                       {
+                               $GLOBALS['phpgw']->db->query("DELETE FROM 
phpgw_headlines_sites",__LINE__,__FILE__);
+                       }
+ 
                        for($i=0;$i<count($title);$i++)
                        {




reply via email to

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