abrecher
10-08-2009, 12:53 PM
Hello,
I'm having some trouble getting the Moderator Data Manager to work. I'm calling it from an outside app, and attempting to add a Moderator to a Forum.
I'm using other Data Managers, such as Forum and User in the same application, without issues.
How is one supposed to use the Moderator Data Manager (ie: datamanager_init('Moderator', $this->vb, ERRTYPE_ARRAY)) when the following function is not defined:
Call to undefined function can_administer() in /home/webapps/releases/20090319200630/includes/class_dm_moderator.php on line 240
I'm having some trouble getting the Moderator Data Manager to work. I'm calling it from an outside app, and attempting to add a Moderator to a Forum.
I'm using other Data Managers, such as Forum and User in the same application, without issues.
How is one supposed to use the Moderator Data Manager (ie: datamanager_init('Moderator', $this->vb, ERRTYPE_ARRAY)) when the following function is not defined:
Call to undefined function can_administer() in /home/webapps/releases/20090319200630/includes/class_dm_moderator.php on line 240