NIS netgroup module for users

This commit is contained in:
Roland Gruber 2015-06-18 17:34:44 +00:00
parent 0edcb1401a
commit 5c5a2c4588
1 changed files with 4 additions and 0 deletions

View File

@ -288,6 +288,10 @@ class nisNetGroupUser extends baseModule {
* @return array array which contains status messages. Each entry is an array containing the status message parameters. * @return array array which contains status messages. Each entry is an array containing the status message parameters.
*/ */
public function postModifyActions($newAccount, $attributes) { public function postModifyActions($newAccount, $attributes) {
$accountContainer = $this->getAccountContainer();
if (empty($accountContainer)) {
return array();
}
$uid = $this->getUid(); $uid = $this->getUid();
if (empty($uid)) { if (empty($uid)) {
return array(); return array();