phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc class.ipc_manager.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc class.ipc_manager.inc.php
Date: Wed, 18 Jul 2007 11:34:48 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     07/07/18 11:34:48

Modified files:
        inc            : class.ipc_manager.inc.php 

Log message:
        patch #6106 - fix return vvalue (author: johang)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.ipc_manager.inc.php?cvsroot=phpgwapi&r1=1.7&r2=1.8

Patches:
Index: class.ipc_manager.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.ipc_manager.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- class.ipc_manager.inc.php   3 Sep 2006 06:15:27 -0000       1.7
+++ class.ipc_manager.inc.php   18 Jul 2007 11:34:48 -0000      1.8
@@ -6,7 +6,7 @@
        * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage communication
-       * @version $Id: class.ipc_manager.inc.php,v 1.7 2006/09/03 06:15:27 
skwashd Exp $
+       * @version $Id: class.ipc_manager.inc.php,v 1.8 2007/07/18 11:34:48 
skwashd Exp $
        */
 
        /**
@@ -53,9 +53,11 @@
         */
        function &getIPC($appName)
        {
+               $error = false;
+               
                // check if app is available amd the acl run app right
        if ($this->_checkIPCApp($appName) == false)
-         return false;
+                       return $error;
 
                // create ipc class name
                $className = $this->_createIPCAppClassName($appName);
@@ -75,7 +77,7 @@
                        }
                        else
                        {
-                         return false;
+                         return $error;
                        }
                }
        }




reply via email to

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