Switched functions from protected to public

This commit is contained in:
paul 2006-12-16 18:32:22 +00:00
parent e57e29675b
commit ae1460a3c4
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ class Alib {
* @return int * @return int
* local object id * local object id
*/ */
protected static function GetPermOid($permid) public static function GetPermOid($permid)
{ {
global $CC_CONFIG, $CC_DBC; global $CC_CONFIG, $CC_DBC;
$sql = "SELECT obj FROM ".$CC_CONFIG['permTable']." WHERE permid=$permid"; $sql = "SELECT obj FROM ".$CC_CONFIG['permTable']." WHERE permid=$permid";

View File

@ -162,7 +162,7 @@ class M2tree {
* @return int|PEAR_Error * @return int|PEAR_Error
* New id of inserted object * New id of inserted object
*/ */
protected static function CopyObj($oid, $newParid, $after=NULL) public static function CopyObj($oid, $newParid, $after=NULL)
{ {
global $CC_CONFIG; global $CC_CONFIG;
global $CC_DBC; global $CC_DBC;