Skip to content
Snippets Groups Projects
Commit 77fccc9d authored by Jakob Sack's avatar Jakob Sack
Browse files

TEMPORARY update path for carddav testers

parent 42a65497
No related branches found
No related tags found
No related merge requests found
<?php
// Init owncloud
require_once('../../lib/base.php');
$connector = new OC_Connector_Sabre_Principal;
$users = OC_User::getUsers();
foreach($users as $user){
$foo = $connector->getPrincipalByPath('principals/'.$user);
if(!isset($foo)){
OC_Connector_Sabre_Principal::addPrincipal(array('uid'=>$user));
}
}
echo "done";
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment