Switched functions from protected to public
This commit is contained in:
parent
e57e29675b
commit
ae1460a3c4
|
@ -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";
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue