phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc class.common.inc.php
Date: Thu, 28 Dec 2006 05:09:32 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     06/12/28 05:09:31

Modified files:
        inc            : class.common.inc.php 

Log message:
        fix check_owner, which should be dropped

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.common.inc.php?cvsroot=phpgwapi&r1=1.250&r2=1.251

Patches:
Index: class.common.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -b -r1.250 -r1.251
--- class.common.inc.php        26 Nov 2006 22:22:01 -0000      1.250
+++ class.common.inc.php        28 Dec 2006 05:09:31 -0000      1.251
@@ -8,7 +8,7 @@
        * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage utilities
-       * @version $Id: class.common.inc.php,v 1.250 2006/11/26 22:22:01 
sigurdne Exp $
+       * @version $Id: class.common.inc.php,v 1.251 2006/12/28 05:09:31 
skwashd Exp $
        */
 
        /**
@@ -342,10 +342,9 @@
                * @param array $extravars URL parameter
                * @deprecated use ACL instead
                */
-               function check_owner($record,$link,$label,$extravars = '')
+               function check_owner($record, $link, $label, $extravars = 
array())
                {
-                       echo 'check_owner() is a depreciated function - use ACL 
class instead <br />';
-                       /*
+                       echo 'check_owner() is a depreciated function - use ACL 
class instead <br>';
                        $s = '<a href="' . 
$GLOBALS['phpgw']->link($link,$extravars) . '"> ' . lang($label) . ' </a>';
                        if (ereg('^[0-9]+$',$record))
                        {
@@ -356,14 +355,13 @@
                        }
                        else
                        {
-                               if ($record != 
$GLOBALS['phpgw_info']['user']['userid'])
+                               if ($record != 
$GLOBALS['phpgw_info']['user']['account_lid'])
                                {
                                        $s = '&nbsp;';
                                }
                        }
 
                        return $s;
-                       */
                }
 
                /**




reply via email to

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