TEMPORARY update path for carddav testers
This commit is contained in:
parent
42a6549729
commit
77fccc9d00
|
@ -0,0 +1,13 @@
|
|||
<?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";
|
Loading…
Reference in New Issue