Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 899b078552
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.323 kb
<?
require_once(dirname(__FILE__) . "/lib.php");
admin_gatekeeper();
$groups = elgg_get_entities(array('types'=>'group','limit'=>0));
elgg_set_ignore_access(true);
foreach($groups as $group) {
echo "migrating " . $group->name . "<br/>";
ejabberd_create_group($group);
}
echo "done!";
elgg_set_ignore_access(false);
?>
Jump to Line
Something went wrong with that request. Please try again.