Skip to content

Commit

Permalink
web: add php pages for support of right to erasure
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Reed committed Apr 10, 2018
1 parent 3e585ed commit 3689cda
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
Empty file.
Empty file.
28 changes: 28 additions & 0 deletions html/user/remove_account_request.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2018 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
//
// BOINC is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.

require_once("../inc/util.inc");

$user = get_logged_in_user();
check_tokens($user->authenticator);

$title = tra("Remove Account ", subset_name($subset));
page_head($title);

page_tail();
?>
Empty file.

4 comments on commit 3689cda

@davidpanderson
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we stick with convention of 1 PHP file for both form and action?

@TheAspens
Copy link
Member

@TheAspens TheAspens commented on 3689cda May 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidpanderson - It looks like you reviewed the very first commit that was made in this branch. These files were deleted in subsequent commits and changed to the form/action format you requested based on your previous feedback. None of the files referenced are present in the final pull request.

@JuhaSointusalo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conventions should be documented but I can't find this anywhere. BOINC coding style looks like a good place but it's not there.

@davidpanderson
Copy link
Contributor

@davidpanderson davidpanderson commented on 3689cda May 18, 2018 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.