diff --git a/campcaster/src/modules/alib/var/Alib.php b/campcaster/src/modules/alib/var/Alib.php index 1f907b43a..bb4cc217d 100644 --- a/campcaster/src/modules/alib/var/Alib.php +++ b/campcaster/src/modules/alib/var/Alib.php @@ -199,7 +199,7 @@ class Alib { * @return int * local object id */ - protected static function GetPermOid($permid) + public static function GetPermOid($permid) { global $CC_CONFIG, $CC_DBC; $sql = "SELECT obj FROM ".$CC_CONFIG['permTable']." WHERE permid=$permid"; diff --git a/campcaster/src/modules/alib/var/M2tree.php b/campcaster/src/modules/alib/var/M2tree.php index 627b90d8a..136a722a1 100644 --- a/campcaster/src/modules/alib/var/M2tree.php +++ b/campcaster/src/modules/alib/var/M2tree.php @@ -162,7 +162,7 @@ class M2tree { * @return int|PEAR_Error * 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_DBC;