new type API
This commit is contained in:
parent
94553967e5
commit
b4248bc898
|
@ -284,7 +284,7 @@ class lamDHCPList extends lamList {
|
|||
function listDoPost() {
|
||||
$fragment = parent::listDoPost();
|
||||
if (isset($_POST['dhcpDefaults'])) {
|
||||
metaRefresh("../account/edit.php?type=dhcp&DN='".$_SESSION['config']->get_suffix('dhcp')."'");
|
||||
metaRefresh("../account/edit.php?type=dhcp&DN='" . $this->type->getSuffix() . "'");
|
||||
die();
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -630,7 +630,6 @@ class lamUserList extends lamList {
|
|||
*/
|
||||
protected function refreshPrimaryGroupTranslation() {
|
||||
$this->trans_primary_hash = array();
|
||||
$grp_suffix = $_SESSION['config']->get_Suffix('group');
|
||||
$filter = "objectClass=posixGroup";
|
||||
$attrs = array("cn", "gidNumber");
|
||||
$entries = searchLDAPByAttribute(null, null, 'posixGroup', $attrs, array('group'));
|
||||
|
|
Loading…
Reference in New Issue