fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12821] sms manual daemon as cron


From: Sigurd Nes
Subject: [Fmsystem-commits] [12821] sms manual daemon as cron
Date: Thu, 05 Mar 2015 09:43:45 +0000

Revision: 12821
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12821
Author:   sigurdne
Date:     2015-03-05 09:43:44 +0000 (Thu, 05 Mar 2015)
Log Message:
-----------
sms manual daemon as cron

Modified Paths:
--------------
    trunk/sms/inc/class.uisms.inc.php

Modified: trunk/sms/inc/class.uisms.inc.php
===================================================================
--- trunk/sms/inc/class.uisms.inc.php   2015-03-05 08:38:58 UTC (rev 12820)
+++ trunk/sms/inc/class.uisms.inc.php   2015-03-05 09:43:44 UTC (rev 12821)
@@ -41,7 +41,6 @@
                function __construct()
                {
                        $GLOBALS['phpgw_info']['flags']['xslt_app'] = true;
-                       $this->nextmatchs                       = 
CreateObject('phpgwapi.nextmatchs');
                        $this->account                          = 
$GLOBALS['phpgw_info']['user']['account_id'];
                        $this->bocommon                         = 
CreateObject('sms.bocommon');
                        $location_id                            = 
$GLOBALS['phpgw']->locations->get_id('sms', 'run');
@@ -74,6 +73,8 @@
 
                function index()
                {
+                       $this->nextmatchs                       = 
CreateObject('phpgwapi.nextmatchs');
+
                        $GLOBALS['phpgw_info']['flags']['menu_selection'] .= 
'::inbox';
                        $acl_location = '.inbox';
 
@@ -247,6 +248,8 @@
                        $GLOBALS['phpgw_info']['flags']['menu_selection'] .= 
'::outbox';
                        $acl_location = '.outbox';
 
+                       $this->nextmatchs                       = 
CreateObject('phpgwapi.nextmatchs');
+
                        
$GLOBALS['phpgw']->xslttpl->add_file(array('sms','nextmatchs','menu',
                                                                                
'search_field'));
 
@@ -873,6 +876,7 @@
                        $sms->getsmsstatus();
                        if(isset($data['cron']))
                        {
+                               $GLOBALS['phpgw_info']['flags']['xslt_app'] = 
false;
                                return;
                        }
 




reply via email to

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