phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] [18981] read_repository should be protected - the pub


From: Dave Hall
Subject: [Phpgroupware-cvs] [18981] read_repository should be protected - the public method is read, the calling code is broken not this class - removing hack committed in r18973
Date: Sun, 26 Oct 2008 20:47:18 +0000

Revision: 18981
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18981
Author:   skwashd
Date:     2008-10-26 20:47:18 +0000 (Sun, 26 Oct 2008)

Log Message:
-----------
read_repository should be protected - the public method is read, the calling 
code is broken not this class - removing hack committed in r18973

Modified Paths:
--------------
    core/trunk/phpgwapi/inc/class.applications.inc.php

Modified: core/trunk/phpgwapi/inc/class.applications.inc.php
===================================================================
--- core/trunk/phpgwapi/inc/class.applications.inc.php  2008-10-26 20:45:31 UTC 
(rev 18980)
+++ core/trunk/phpgwapi/inc/class.applications.inc.php  2008-10-26 20:47:18 UTC 
(rev 18981)
@@ -113,7 +113,7 @@
                *
                * @return array|boolean Array with list of available 
applications or false
                */
-               public function read_repository()
+               protected function read_repository()
                {
                        if (!isset($GLOBALS['phpgw_info']['apps']) ||
                                !is_array($GLOBALS['phpgw_info']['apps']))






reply via email to

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