0
1
Fork 0
hedera-web-mindshore/rest/core/sync-user.php

20 lines
346 B
PHP
Raw Normal View History

2016-10-27 11:22:04 +00:00
<?php
include __DIR__.'/account.php';
/**
* Updates the user credentials on external systems like Samba, create
* home directory, create mailbox, etc.
2016-12-20 09:32:17 +00:00
*/
2016-10-27 11:22:04 +00:00
class SyncUser extends Vn\Web\JsonRequest
{
const PARAMS = ['syncUser'];
function run ($db)
{
Account::sync ($db, $_REQUEST['syncUser'], NULL, Account::USER);
return TRUE;
}
}