diff --git a/admin/editapplication.php b/admin/editapplication.php index 651e11758d..3277fb14c3 100644 --- a/admin/editapplication.php +++ b/admin/editapplication.php @@ -81,15 +81,6 @@ . "app_title='" . addslashes($n_app_title) . "', app_enabled='" . "$n_app_status',app_order='$app_order' where app_name='$old_app_name'",__LINE__,__FILE__); - if($n_app_anonymous) - { - $phpgw->acl->add_repository($n_app_name,'everywhere',0,PHPGW_ACL_READ); - } - else - { - $phpgw->acl->delete_repository($n_app_name,'everywhere',0); - } - Header("Location: " . $phpgw->link("/admin/applications.php")); $phpgw->common->phpgw_exit(); } @@ -114,7 +105,6 @@ $n_app_status = $phpgw->db->f('app_enabled'); $old_app_name = $phpgw->db->f('app_name'); $app_order = $phpgw->db->f('app_order'); - $n_app_anonymous = $phpgw->acl->check('everywhere', PHPGW_ACL_READ, $n_app_name); } $p->set_var('lang_header',lang('Edit application')); @@ -136,15 +126,6 @@ display_row(lang("Status"),''); display_row(lang("Select which location this app should appear on the navbar, lowest (left) to highest (right)"),''); - $str = 'set_var('select_status',$status_html); $p->pparse('out','form'); diff --git a/admin/newapplication.php b/admin/newapplication.php index 687606d447..3b46ef099c 100644 --- a/admin/newapplication.php +++ b/admin/newapplication.php @@ -77,11 +77,6 @@ . addslashes($n_app_name) . "','" . addslashes($n_app_title) . "','" . "$n_app_status','$app_order')",__LINE__,__FILE__); - if($n_app_anonymous) - { - $phpgw->acl->add_repository($n_app_name,'everywhere',0,PHPGW_ACL_READ); - } - Header("Location: " . $phpgw->link("/admin/applications.php")); $phpgw->common->phpgw_exit(); } @@ -122,8 +117,6 @@ display_row(lang("Select which location this app should appear on the navbar, lowest (left) to highest (right)"),''); - display_row(lang("Allow Anonymous access to this app"),''); - $p->set_var("lang_submit_button",lang("add")); $p->pparse("out","form");