diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-09-16 18:05:37 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2020-09-16 18:12:53 +0100 |
commit | 258a23cd9a36631d8794fbf9251fa5f23c975661 (patch) | |
tree | 600badfe6a709cabad9e058e78280b6ebd5d9f1c /app/blueprints/packages/packages.py | |
parent | 92fb54556ad0409a519c308e7e34b63e11621903 (diff) | |
download | cheatdb-258a23cd9a36631d8794fbf9251fa5f23c975661.tar.xz |
Allow all users to delete their packages
Diffstat (limited to 'app/blueprints/packages/packages.py')
-rw-r--r-- | app/blueprints/packages/packages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/blueprints/packages/packages.py b/app/blueprints/packages/packages.py index c7a5c99..c79e931 100644 --- a/app/blueprints/packages/packages.py +++ b/app/blueprints/packages/packages.py @@ -438,7 +438,7 @@ def remove(package): flash("You don't have permission to do that.", "danger") return redirect(package.getDetailsURL()) - package.state = PackageState.READY_FOR_REVIEW + package.state = PackageState.WIP msg = "Unapproved {}".format(package.title) addNotification(package.maintainers, current_user, msg, package.getDetailsURL(), package) |