Skip to content

Commit

Permalink
spx 1739 removed "use trash" from repository menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Kloepfer committed Oct 23, 2015
1 parent 5a27bd9 commit b9e5367
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ protected function initSettingsForm()
*/

// trash
$cb = new ilCheckboxInputGUI($this->lng->txt("enable_trash"), "enable_trash");
/*$cb = new ilCheckboxInputGUI($this->lng->txt("enable_trash"), "enable_trash");
$cb->setInfo($this->lng->txt("enable_trash_info"));
if ($ilSetting->get("enable_trash"))
{
$cb->setChecked(true);
}
$form->addItem($cb);
$form->addItem($cb);*/

// change event
require_once 'Services/Tracking/classes/class.ilChangeEvent.php';
Expand Down Expand Up @@ -253,7 +253,7 @@ public function saveSettings()
// $ilSetting->set('rep_cache',(int) $_POST['rep_cache']);
// $ilSetting->set("rep_tree_synchronize", $_POST["rep_tree_synchronize"]);

$ilSetting->set("enable_trash", $_POST["enable_trash"]);
//$ilSetting->set("enable_trash", $_POST["enable_trash"]);

$ilSetting->set("rep_shorten_description", $form->getInput('rep_shorten_description'));
$ilSetting->set("rep_shorten_description_length", (int)$form->getInput('rep_shorten_description_length'));
Expand Down

0 comments on commit b9e5367

Please sign in to comment.