summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 99b0a43)
raw | patch | inline | side by side (parent: 99b0a43)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Nov 2006 06:05:51 +0000 (06:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Nov 2006 06:05:51 +0000 (06:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5183 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiManagement.inc | patch | blob | history |
index 5d966c64e6588e9f2282d7db86ceb8966c0b37d4..a0f77a551506e95a55a6c5ea05bdc952dda4d671 100644 (file)
$this->CopyPasteHandler->save_object();
$this->CopyPasteHandler->SetVar("base", $this->DivListFai->selectedBase);
- $this->CopyPasteHandler->SetVar("copy_paste_mode", TRUE);
+
+ if($this->CopyPasteHandler->copyCurrent){
+ $this->CopyPasteHandler->SetVar("copy_paste_mode", TRUE);
+ }
$release = "ou=fai,ou=configs,ou=systems,".$_SESSION['CurrentMainBase'];
if($_SESSION['faifilter']['branch']!="main"){
if($s_action == "cut"){
$this->CopyPasteHandler->Clear();
$dn= $this->objects[$s_entry]['dn'];
- $acl= get_permissions ($dn, $this->ui->subtreeACL);
$ldap = $this->config->get_ldap_link();
$ldap->cat($dn);
$class = $tmp[1];
$data = $tmp[2];
$obj= new $tabs($this->config, $this->config->data['TABS'][$data], $dn);
- $obj->set_acl($acl);
$this->CopyPasteHandler->Cut($obj);
}
}